See:
Description
| Interface Summary | |
| IJavaMetricsListener | Notification protocol between JavaModel instances and its interested parties. |
| Class Summary | |
| AddTraceStatementsAction | The purpose of AddTraceStatementsAction is to demonstrate how to
add simple code modifications ("refactoring") to the Java editor. |
| AddTraceStatementsEditorAction | The purpose of AddTraceStatementEditorAction is to demonstrate how to
add simple code modifications ("refactoring") to the Java editor. |
| AddTraceStatementsEditorAction.JavaMethodCollector | An AST visitor that traverses a compilation unit and
gathers all instances of MethodDeclaration,
whether they be in the top-level class, inner classes,
or anonymous classes. |
| AddTraceStatementToMemberAction | The purpose of AddTraceStatementToMemberAction is to demonstrate how to
add simple code modifications ("refactoring") to the Java editor. |
| ASTNode2StringVisitor | A simple ASTVisitor subclass that prints all nodes to the Console,
indented to the proper level. |
| HelloASTAction | The purpose of HelloASTAction is to introduce Abstract Syntax Trees (AST)
and demonstrate how to process them with the ASTVisitor subclass,
ASTNode2StringVisitor. |
| HelloWorld | Sample code for testing metrics and working with ASTs. |
| JavaMetrics | The purpose of JavaMetrics is to demonstrate how to integrate with the
JDT model. |
| JavaMetricsView | This class will work with a JavaMetrics to enable the user
to see basic code metrics updated in real-time as the underlying Java model
is changed. |
Examples for Chapter 27, Extending the Java Development Tools.