|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an interface for a tool.
A tool will receive notifications about a compilation unit, classes, interfaces and methods that are related to a tool.
If the ToolRunner
is driven by ant all the files in the
fileset will be passed to this method.
Method Summary | |
boolean |
process(AST_CLASS_DEF clazz)
Signals that we have discovered a class. |
void |
process(AST_CTOR_DEF ctor)
Signals that we have discovered a constructor. |
boolean |
process(AST_INTERFACE_DEF interfaze)
Signals that we have discovered an interface. |
void |
process(AST_METHOD_DEF method)
Signals that we have discovered a method. |
void |
process(AST_VARIABLE_DEF variable)
Signals that we have discovered a variable. |
boolean |
process(CompilationUnit cu)
The tool that implements this method must return true if the compilation unit should be processed any further. |
Method Detail |
public boolean process(CompilationUnit cu)
cu
- the compilation unit to process.public boolean process(AST_INTERFACE_DEF interfaze)
interfaze
- the interface to process.public boolean process(AST_CLASS_DEF clazz)
clazz
- the class to process.public void process(AST_METHOD_DEF method)
method
- the method to process.public void process(AST_VARIABLE_DEF variable)
variable
- the method to process.public void process(AST_CTOR_DEF ctor)
ctor
- the constructor to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |