net.sourceforge.pmd.symboltable
public class SourceFileScope extends AbstractScope
| Field Summary | |
|---|---|
| protected Map<ClassNameDeclaration,List<NameOccurrence>> | 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<ClassNameDeclaration,List<NameOccurrence>> | getClassDeclarations() |
| ClassScope | getEnclosingClassScope() |
| MethodScope | getEnclosingMethodScope() |
| SourceFileScope | getEnclosingSourceFileScope() |
| String | getPackageName() |
| Map<VariableNameDeclaration,List<NameOccurrence>> | getVariableDeclarations() |
| String | toString() |