|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlombok.javac.JavacASTAdapter
public class JavacASTAdapter
Standard adapter for the JavacASTVisitor interface. Every method on that interface
has been implemented with an empty body. Override whichever methods you need.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface lombok.javac.JavacASTVisitor |
|---|
JavacASTVisitor.Printer |
| Constructor Summary | |
|---|---|
JavacASTAdapter()
|
|
| Method Summary | |
|---|---|
void |
endVisitCompilationUnit(JavacNode top,
com.sun.tools.javac.tree.JCTree.JCCompilationUnit unit)
|
void |
endVisitField(JavacNode fieldNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl field)
|
void |
endVisitInitializer(JavacNode initializerNode,
com.sun.tools.javac.tree.JCTree.JCBlock initializer)
|
void |
endVisitLocal(JavacNode localNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl local)
|
void |
endVisitMethod(JavacNode methodNode,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
|
void |
endVisitMethodArgument(JavacNode argumentNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
|
void |
endVisitStatement(JavacNode statementNode,
com.sun.tools.javac.tree.JCTree statement)
|
void |
endVisitType(JavacNode typeNode,
com.sun.tools.javac.tree.JCTree.JCClassDecl type)
|
boolean |
isResolutionBased()
If true, you'll be called after all the non-resolution based visitors. |
void |
visitAnnotationOnField(com.sun.tools.javac.tree.JCTree.JCVariableDecl field,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
|
void |
visitAnnotationOnLocal(com.sun.tools.javac.tree.JCTree.JCVariableDecl local,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
|
void |
visitAnnotationOnMethod(com.sun.tools.javac.tree.JCTree.JCMethodDecl method,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
|
void |
visitAnnotationOnMethodArgument(com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
|
void |
visitAnnotationOnType(com.sun.tools.javac.tree.JCTree.JCClassDecl type,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
|
void |
visitCompilationUnit(JavacNode top,
com.sun.tools.javac.tree.JCTree.JCCompilationUnit unit)
Called at the very beginning and end. |
void |
visitField(JavacNode fieldNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl field)
Called when visiting a field of a class. |
void |
visitInitializer(JavacNode initializerNode,
com.sun.tools.javac.tree.JCTree.JCBlock initializer)
Called for static and instance initializers. |
void |
visitLocal(JavacNode localNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl local)
Visits a local declaration - that is, something like 'int x = 10;' on the method level. |
void |
visitMethod(JavacNode methodNode,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
Called for both methods and constructors. |
void |
visitMethodArgument(JavacNode argumentNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
Visits a method argument. |
void |
visitStatement(JavacNode statementNode,
com.sun.tools.javac.tree.JCTree statement)
Visits a statement that isn't any of the other visit methods (e.g. |
void |
visitType(JavacNode typeNode,
com.sun.tools.javac.tree.JCTree.JCClassDecl type)
Called when visiting a type (a class, interface, annotation, enum, etcetera). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavacASTAdapter()
| Method Detail |
|---|
public boolean isResolutionBased()
isResolutionBased in interface JavacASTVisitor
public void visitCompilationUnit(JavacNode top,
com.sun.tools.javac.tree.JCTree.JCCompilationUnit unit)
visitCompilationUnit in interface JavacASTVisitor
public void endVisitCompilationUnit(JavacNode top,
com.sun.tools.javac.tree.JCTree.JCCompilationUnit unit)
endVisitCompilationUnit in interface JavacASTVisitor
public void visitType(JavacNode typeNode,
com.sun.tools.javac.tree.JCTree.JCClassDecl type)
visitType in interface JavacASTVisitor
public void visitAnnotationOnType(com.sun.tools.javac.tree.JCTree.JCClassDecl type,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
visitAnnotationOnType in interface JavacASTVisitor
public void endVisitType(JavacNode typeNode,
com.sun.tools.javac.tree.JCTree.JCClassDecl type)
endVisitType in interface JavacASTVisitor
public void visitField(JavacNode fieldNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl field)
visitField in interface JavacASTVisitor
public void visitAnnotationOnField(com.sun.tools.javac.tree.JCTree.JCVariableDecl field,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
visitAnnotationOnField in interface JavacASTVisitor
public void endVisitField(JavacNode fieldNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl field)
endVisitField in interface JavacASTVisitor
public void visitInitializer(JavacNode initializerNode,
com.sun.tools.javac.tree.JCTree.JCBlock initializer)
visitInitializer in interface JavacASTVisitor
public void endVisitInitializer(JavacNode initializerNode,
com.sun.tools.javac.tree.JCTree.JCBlock initializer)
endVisitInitializer in interface JavacASTVisitor
public void visitMethod(JavacNode methodNode,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
visitMethod in interface JavacASTVisitor
public void visitAnnotationOnMethod(com.sun.tools.javac.tree.JCTree.JCMethodDecl method,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
visitAnnotationOnMethod in interface JavacASTVisitor
public void endVisitMethod(JavacNode methodNode,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
endVisitMethod in interface JavacASTVisitor
public void visitMethodArgument(JavacNode argumentNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
visitMethodArgument in interface JavacASTVisitor
public void visitAnnotationOnMethodArgument(com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
visitAnnotationOnMethodArgument in interface JavacASTVisitor
public void endVisitMethodArgument(JavacNode argumentNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl argument,
com.sun.tools.javac.tree.JCTree.JCMethodDecl method)
endVisitMethodArgument in interface JavacASTVisitor
public void visitLocal(JavacNode localNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl local)
visitLocal in interface JavacASTVisitor
public void visitAnnotationOnLocal(com.sun.tools.javac.tree.JCTree.JCVariableDecl local,
JavacNode annotationNode,
com.sun.tools.javac.tree.JCTree.JCAnnotation annotation)
visitAnnotationOnLocal in interface JavacASTVisitor
public void endVisitLocal(JavacNode localNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl local)
endVisitLocal in interface JavacASTVisitor
public void visitStatement(JavacNode statementNode,
com.sun.tools.javac.tree.JCTree statement)
visitStatement in interface JavacASTVisitor
public void endVisitStatement(JavacNode statementNode,
com.sun.tools.javac.tree.JCTree statement)
endVisitStatement in interface JavacASTVisitor
|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||