net.sourceforge.pmd.lang.plsql.symboltable
Class SourceFileScope
java.lang.Object
net.sourceforge.pmd.lang.symboltable.AbstractScope
net.sourceforge.pmd.lang.plsql.symboltable.SourceFileScope
- All Implemented Interfaces:
- Scope
public class SourceFileScope
- extends AbstractScope
SourceFileScope
public SourceFileScope()
SourceFileScope
public SourceFileScope(String image)
getPackageName
public String getPackageName()
addDeclaration
public void addDeclaration(NameDeclaration declaration)
- Adds a new declaration to this scope. Only after the declaration has been added,
Scope.contains(NameOccurrence)
and Scope.addNameOccurrence(NameOccurrence)
can
be used correctly.
- Specified by:
addDeclaration
in interface Scope
- Overrides:
addDeclaration
in class AbstractScope
- Parameters:
declaration
- the declaration to add
- Throws:
IllegalArgumentException
- if declaration is not a ClassNameDeclaration
toString
public String toString()
- Overrides:
toString
in class Object
findVariableHere
protected NameDeclaration findVariableHere(NameOccurrence occ)
Copyright © 2002–2015 InfoEther. All rights reserved.