net.sourceforge.pmd.symboltable
public class DummyScope extends Object implements Scope
| Method Summary | |
|---|---|
| void | addDeclaration(ClassNameDeclaration decl) |
| void | addDeclaration(VariableNameDeclaration decl) |
| void | addDeclaration(MethodNameDeclaration decl) |
| NameDeclaration | addVariableNameOccurrence(NameOccurrence occ) |
| boolean | contains(NameOccurrence occ) |
| Map<ClassNameDeclaration,List<NameOccurrence>> | getClassDeclarations() |
| ClassScope | getEnclosingClassScope() |
| MethodScope | getEnclosingMethodScope() |
| SourceFileScope | getEnclosingSourceFileScope() |
| Scope | getParent() |
| Map<VariableNameDeclaration,List<NameOccurrence>> | getVariableDeclarations() |
| void | setParent(Scope parent) |