Class SourceFileScope
- java.lang.Object
-
- net.sourceforge.pmd.lang.symboltable.AbstractScope
-
- net.sourceforge.pmd.lang.plsql.symboltable.SourceFileScope
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.symboltable.Scope
public class SourceFileScope extends net.sourceforge.pmd.lang.symboltable.AbstractScope
-
-
Constructor Summary
Constructors Constructor Description SourceFileScope()
SourceFileScope(String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeclaration(net.sourceforge.pmd.lang.symboltable.NameDeclaration declaration)
protected net.sourceforge.pmd.lang.symboltable.NameDeclaration
findVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)
String
getPackageName()
String
toString()
-
-
-
Constructor Detail
-
SourceFileScope
public SourceFileScope()
-
SourceFileScope
public SourceFileScope(String image)
-
-
Method Detail
-
getPackageName
public String getPackageName()
-
addDeclaration
public void addDeclaration(net.sourceforge.pmd.lang.symboltable.NameDeclaration declaration)
- Specified by:
addDeclaration
in interfacenet.sourceforge.pmd.lang.symboltable.Scope
- Overrides:
addDeclaration
in classnet.sourceforge.pmd.lang.symboltable.AbstractScope
- Throws:
IllegalArgumentException
- if declaration is not aClassNameDeclaration
-
findVariableHere
protected net.sourceforge.pmd.lang.symboltable.NameDeclaration findVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)
-
-