net.sourceforge.pmd.symboltable
public class MethodScope extends AbstractScope
Field Summary | |
---|---|
protected Map | variableNames |
Constructor Summary | |
---|---|
MethodScope(SimpleNode node) |
Method Summary | |
---|---|
void | addDeclaration(VariableNameDeclaration variableDecl) |
NameDeclaration | addVariableNameOccurrence(NameOccurrence occurrence) |
NameDeclaration | findVariableHere(NameOccurrence occurrence) |
MethodScope | getEnclosingMethodScope() |
String | getName() |
Map | getVariableDeclarations() |
String | toString() |