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(java.lang.String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeclaration(net.sourceforge.pmd.lang.symboltable.NameDeclaration declaration)protected net.sourceforge.pmd.lang.symboltable.NameDeclarationfindVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)java.lang.StringgetPackageName()java.lang.StringtoString()
-
-
-
Method Detail
-
getPackageName
public java.lang.String getPackageName()
-
addDeclaration
public void addDeclaration(net.sourceforge.pmd.lang.symboltable.NameDeclaration declaration)
- Specified by:
addDeclarationin interfacenet.sourceforge.pmd.lang.symboltable.Scope- Overrides:
addDeclarationin classnet.sourceforge.pmd.lang.symboltable.AbstractScope- Throws:
java.lang.IllegalArgumentException- if declaration is not aClassNameDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
findVariableHere
protected net.sourceforge.pmd.lang.symboltable.NameDeclaration findVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)
-
-