|
Lombok - v0.10.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlombok.eclipse.EclipseASTAdapter
public abstract class EclipseASTAdapter
Standard adapter for the EclipseASTVisitor
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.eclipse.EclipseASTVisitor |
---|
EclipseASTVisitor.Printer |
Constructor Summary | |
---|---|
EclipseASTAdapter()
|
Method Summary | |
---|---|
void |
endVisitCompilationUnit(EclipseNode top,
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration unit)
|
void |
endVisitField(EclipseNode fieldNode,
org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field)
|
void |
endVisitInitializer(EclipseNode initializerNode,
org.eclipse.jdt.internal.compiler.ast.Initializer initializer)
|
void |
endVisitLocal(EclipseNode localNode,
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local)
|
void |
endVisitMethod(EclipseNode methodNode,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
|
void |
endVisitMethodArgument(EclipseNode argNode,
org.eclipse.jdt.internal.compiler.ast.Argument arg,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
|
void |
endVisitStatement(EclipseNode statementNode,
org.eclipse.jdt.internal.compiler.ast.Statement statement)
|
void |
endVisitType(EclipseNode typeNode,
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration type)
|
void |
visitAnnotationOnField(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field,
EclipseNode annotationNode,
org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
|
void |
visitAnnotationOnLocal(org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local,
EclipseNode annotationNode,
org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
|
void |
visitAnnotationOnMethod(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
EclipseNode annotationNode,
org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
|
void |
visitAnnotationOnMethodArgument(org.eclipse.jdt.internal.compiler.ast.Argument arg,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
EclipseNode annotationNode,
org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
|
void |
visitAnnotationOnType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration type,
EclipseNode annotationNode,
org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
|
void |
visitCompilationUnit(EclipseNode top,
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration unit)
Called at the very beginning and end. |
void |
visitField(EclipseNode fieldNode,
org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field)
Called when visiting a field of a class. |
void |
visitInitializer(EclipseNode initializerNode,
org.eclipse.jdt.internal.compiler.ast.Initializer initializer)
Called for static and instance initializers. |
void |
visitLocal(EclipseNode localNode,
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local)
Visits a local declaration - that is, something like 'int x = 10;' on the method level. |
void |
visitMethod(EclipseNode methodNode,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Called for both methods (MethodDeclaration) and constructors (ConstructorDeclaration), but not for Clinit objects, which are a vestigial Eclipse thing that never contain anything. |
void |
visitMethodArgument(EclipseNode argNode,
org.eclipse.jdt.internal.compiler.ast.Argument arg,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Visits a method argument |
void |
visitStatement(EclipseNode statementNode,
org.eclipse.jdt.internal.compiler.ast.Statement statement)
Visits a statement that isn't any of the other visit methods (e.g. |
void |
visitType(EclipseNode typeNode,
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration 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 |
Methods inherited from interface lombok.eclipse.EclipseASTVisitor |
---|
deferUntilPostDiet |
Constructor Detail |
---|
public EclipseASTAdapter()
Method Detail |
---|
public void visitCompilationUnit(EclipseNode top, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration unit)
visitCompilationUnit
in interface EclipseASTVisitor
public void endVisitCompilationUnit(EclipseNode top, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration unit)
endVisitCompilationUnit
in interface EclipseASTVisitor
public void visitType(EclipseNode typeNode, org.eclipse.jdt.internal.compiler.ast.TypeDeclaration type)
visitType
in interface EclipseASTVisitor
public void visitAnnotationOnType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration type, EclipseNode annotationNode, org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
visitAnnotationOnType
in interface EclipseASTVisitor
public void endVisitType(EclipseNode typeNode, org.eclipse.jdt.internal.compiler.ast.TypeDeclaration type)
endVisitType
in interface EclipseASTVisitor
public void visitInitializer(EclipseNode initializerNode, org.eclipse.jdt.internal.compiler.ast.Initializer initializer)
visitInitializer
in interface EclipseASTVisitor
public void endVisitInitializer(EclipseNode initializerNode, org.eclipse.jdt.internal.compiler.ast.Initializer initializer)
endVisitInitializer
in interface EclipseASTVisitor
public void visitField(EclipseNode fieldNode, org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field)
visitField
in interface EclipseASTVisitor
public void visitAnnotationOnField(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field, EclipseNode annotationNode, org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
visitAnnotationOnField
in interface EclipseASTVisitor
public void endVisitField(EclipseNode fieldNode, org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field)
endVisitField
in interface EclipseASTVisitor
public void visitMethod(EclipseNode methodNode, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
visitMethod
in interface EclipseASTVisitor
public void visitAnnotationOnMethod(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method, EclipseNode annotationNode, org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
visitAnnotationOnMethod
in interface EclipseASTVisitor
public void endVisitMethod(EclipseNode methodNode, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
endVisitMethod
in interface EclipseASTVisitor
public void visitMethodArgument(EclipseNode argNode, org.eclipse.jdt.internal.compiler.ast.Argument arg, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
visitMethodArgument
in interface EclipseASTVisitor
public void visitAnnotationOnMethodArgument(org.eclipse.jdt.internal.compiler.ast.Argument arg, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method, EclipseNode annotationNode, org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
visitAnnotationOnMethodArgument
in interface EclipseASTVisitor
public void endVisitMethodArgument(EclipseNode argNode, org.eclipse.jdt.internal.compiler.ast.Argument arg, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
endVisitMethodArgument
in interface EclipseASTVisitor
public void visitLocal(EclipseNode localNode, org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local)
visitLocal
in interface EclipseASTVisitor
public void visitAnnotationOnLocal(org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local, EclipseNode annotationNode, org.eclipse.jdt.internal.compiler.ast.Annotation annotation)
visitAnnotationOnLocal
in interface EclipseASTVisitor
public void endVisitLocal(EclipseNode localNode, org.eclipse.jdt.internal.compiler.ast.LocalDeclaration local)
endVisitLocal
in interface EclipseASTVisitor
public void visitStatement(EclipseNode statementNode, org.eclipse.jdt.internal.compiler.ast.Statement statement)
visitStatement
in interface EclipseASTVisitor
public void endVisitStatement(EclipseNode statementNode, org.eclipse.jdt.internal.compiler.ast.Statement statement)
endVisitStatement
in interface EclipseASTVisitor
|
Lombok - v0.10.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |