private abstract static class VariableNamer.CustomJavaASTWalker extends JavaASTWalker
| Modifier and Type | Field and Description |
|---|---|
private int |
currentScopeDepth |
private ProgramElement |
declarationNode |
private int |
declarationScopeDepth |
| Constructor and Description |
|---|
CustomJavaASTWalker(ProgramElement program,
PosInProgram posOfDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
walk(ProgramElement node)
walks through the AST.
|
depth, doAction, root, startprivate ProgramElement declarationNode
private int declarationScopeDepth
private int currentScopeDepth
CustomJavaASTWalker(ProgramElement program, PosInProgram posOfDeclaration)
protected void walk(ProgramElement node)
JavaASTWalkerwalk in class JavaASTWalkernode - the JavaProgramElement the walker is at