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 void
addDeclaration(net.sourceforge.pmd.lang.symboltable.NameDeclaration declaration)
protected net.sourceforge.pmd.lang.symboltable.NameDeclaration
findVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)
java.lang.String
getPackageName()
java.lang.String
toString()
-
-
-
Method Detail
-
getPackageName
public java.lang.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:
java.lang.IllegalArgumentException
- if declaration is not aClassNameDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
findVariableHere
protected net.sourceforge.pmd.lang.symboltable.NameDeclaration findVariableHere(net.sourceforge.pmd.lang.symboltable.NameOccurrence occ)
-
-