|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Documented public @interface NodeTest
This annotation is for methods of the Analyzer that are to be run on a node.
| Optional Element Summary | |
|---|---|
boolean |
checkClass
True if the Node Test depends on the class of the node. |
boolean |
checkType
True if the Node Test depends on the token type of the node. |
boolean |
failOnError
True if the analyzer should stop if this test generates an error |
Class<? extends CMTree> |
nodeClass
The class to match if using class filtering |
int |
nodeType
The node type to match if using node type filtering. |
public abstract boolean checkClass
public abstract boolean checkType
public abstract boolean failOnError
public abstract Class<? extends CMTree> nodeClass
public abstract int nodeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||