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 void
addDeclaration(NameDeclaration declaration)
Deprecated.protected void
checkForDuplicatedNameDeclaration(NameDeclaration declaration)
Deprecated.boolean
contains(NameOccurrence occurrence)
Deprecated.protected abstract Set<NameDeclaration>
findVariableHere(JavaNameOccurrence occurrence)
Deprecated.protected <T> String
glomNames(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:
addDeclaration
in interfaceScope
- Overrides:
addDeclaration
in classAbstractScope
-
checkForDuplicatedNameDeclaration
protected void checkForDuplicatedNameDeclaration(NameDeclaration declaration)
Deprecated.
-
contains
public boolean contains(NameOccurrence occurrence)
Deprecated.- Specified by:
contains
in interfaceScope
- Overrides:
contains
in classAbstractScope
-
findVariableHere
protected abstract Set<NameDeclaration> findVariableHere(JavaNameOccurrence occurrence)
Deprecated.
-
-