Class AbstractJavaScope
- java.lang.Object
-
- net.sourceforge.pmd.lang.symboltable.AbstractScope
-
- net.sourceforge.pmd.lang.java.symboltable.AbstractJavaScope
-
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
ClassScope,LocalScope,MethodScope,SourceFileScope
@Deprecated @InternalApi public abstract class AbstractJavaScope extends AbstractScope
Deprecated.Provides the basic java scope implementation.- See Also:
- JLS 6.3
-
-
Constructor Summary
Constructors Constructor Description AbstractJavaScope()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddDeclaration(NameDeclaration declaration)Deprecated.protected voidcheckForDuplicatedNameDeclaration(NameDeclaration declaration)Deprecated.booleancontains(NameOccurrence occurrence)Deprecated.protected abstract Set<NameDeclaration>findVariableHere(JavaNameOccurrence occurrence)Deprecated.protected <T> StringglomNames(Set<T> s)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.symboltable.AbstractScope
addNameOccurrence, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
-
-
-
-
Method Detail
-
addDeclaration
public void addDeclaration(NameDeclaration declaration)
Deprecated.- Specified by:
addDeclarationin interfaceScope- Overrides:
addDeclarationin classAbstractScope
-
checkForDuplicatedNameDeclaration
protected void checkForDuplicatedNameDeclaration(NameDeclaration declaration)
Deprecated.
-
contains
public boolean contains(NameOccurrence occurrence)
Deprecated.- Specified by:
containsin interfaceScope- Overrides:
containsin classAbstractScope
-
findVariableHere
protected abstract Set<NameDeclaration> findVariableHere(JavaNameOccurrence occurrence)
Deprecated.
-
-