net.sourceforge.pmd.symboltable
public class SourceFileScope extends AbstractScope implements Scope
Field Summary | |
---|---|
protected Map | classNames |
Constructor Summary | |
---|---|
SourceFileScope() | |
SourceFileScope(String image) |
Method Summary | |
---|---|
void | addDeclaration(ClassNameDeclaration classDecl) |
void | addDeclaration(MethodNameDeclaration decl) |
void | addDeclaration(VariableNameDeclaration decl) |
NameDeclaration | addVariableNameOccurrence(NameOccurrence occ) |
protected NameDeclaration | findVariableHere(NameOccurrence occ) |
Map | getClassDeclarations() |
ClassScope | getEnclosingClassScope() |
MethodScope | getEnclosingMethodScope() |
SourceFileScope | getEnclosingSourceFileScope() |
String | getPackageName() |
Map | getVariableDeclarations() |
String | toString() |