|
Jalopy 1.0b10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.hunsicker.jalopy.language.TreeWalker | +--de.hunsicker.jalopy.language.CodeInspector
Inspects a Java parse tree for convention violations and possible code weaknesses.
Fields inherited from class de.hunsicker.jalopy.language.TreeWalker |
stop |
Constructor Summary | |
CodeInspector(java.util.Map issues)
Creates a new CodeInspector object. |
Method Summary | |
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)
{@inheritDoc} |
Methods inherited from class de.hunsicker.jalopy.language.TreeWalker |
reset, stop, walk, walkChildren, walkNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CodeInspector(java.util.Map issues)
issues
- map to hold the found issues.Method Detail |
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)
visit
in class TreeWalker
de.hunsicker.jalopy.language.TreeWalker
node
- a node of the tree.
|
Jalopy 1.0b10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |