lombok.javac.handlers
Class HandleVal
java.lang.Object
lombok.javac.JavacASTAdapter
lombok.javac.handlers.HandleVal
- All Implemented Interfaces:
- JavacASTVisitor
@ProviderFor(value=JavacASTVisitor.class)
public class HandleVal
- extends JavacASTAdapter
|
Method Summary |
boolean |
isResolutionBased()
If true, you'll be called after all the non-resolution based visitors. |
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. |
| Methods inherited from class lombok.javac.JavacASTAdapter |
endVisitCompilationUnit, endVisitField, endVisitInitializer, endVisitLocal, endVisitMethod, endVisitMethodArgument, endVisitStatement, endVisitType, visitAnnotationOnField, visitAnnotationOnLocal, visitAnnotationOnMethod, visitAnnotationOnMethodArgument, visitAnnotationOnType, visitCompilationUnit, visitField, visitInitializer, visitMethod, visitMethodArgument, visitStatement, visitType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandleVal
public HandleVal()
isResolutionBased
public boolean isResolutionBased()
- Description copied from class:
JavacASTAdapter
- If true, you'll be called after all the non-resolution based visitors.
NB: Temporary solution - will be rewritten to a different style altogether in a future release.
- Specified by:
isResolutionBased in interface JavacASTVisitor- Overrides:
isResolutionBased in class JavacASTAdapter
visitLocal
public void visitLocal(JavacNode localNode,
com.sun.tools.javac.tree.JCTree.JCVariableDecl local)
- Description copied from class:
JavacASTAdapter
- Visits a local declaration - that is, something like 'int x = 10;' on the method level. Also called
for method parameters.
- Specified by:
visitLocal in interface JavacASTVisitor- Overrides:
visitLocal in class JavacASTAdapter
Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.