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, start
private ProgramElement declarationNode
private int declarationScopeDepth
private int currentScopeDepth
CustomJavaASTWalker(ProgramElement program, PosInProgram posOfDeclaration)
protected void walk(ProgramElement node)
JavaASTWalker
walk
in class JavaASTWalker
node
- the JavaProgramElement the walker is at