public final class CodeInspector extends TreeWalker
stop| Constructor and Description |
|---|
CodeInspector(java.util.Map issues)
Creates a new CodeInspector object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
inspect(de.hunsicker.antlr.collections.AST tree,
java.io.File file)
Inspects the given Java parse tree for code convention violations and coding
weaknesses.
|
void |
visit(de.hunsicker.antlr.collections.AST node)
Callback method that can be called for a node found.
|
reset, stop, walk, walkChildren, walkNodepublic CodeInspector(java.util.Map issues)
issues - map to hold the found issues.public void inspect(de.hunsicker.antlr.collections.AST tree,
java.io.File file)
tree - root node of the parse tree.file - the file that is inspected.public void visit(de.hunsicker.antlr.collections.AST node)
In the default implementation, this method will be called for every node of the tree.
visit in class TreeWalkernode - a node of the tree.
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013