@ProviderFor(value=JavacASTVisitor.class) public class HandleFieldDefaults extends JavacASTAdapter
lombok.FieldDefaults
annotation for eclipse.JavacASTVisitor.Printer
Constructor and Description |
---|
HandleFieldDefaults() |
Modifier and Type | Method and Description |
---|---|
boolean |
generateFieldDefaultsForType(JavacNode typeNode,
JavacNode errorNode,
AccessLevel level,
boolean makeFinal,
boolean checkForTypeLevelFieldDefaults) |
void |
setFieldDefaultsForField(JavacNode fieldNode,
AccessLevel level,
boolean makeFinal) |
void |
visitType(JavacNode typeNode,
JCClassDecl type)
Called when visiting a type (a class, interface, annotation, enum, etcetera).
|
endVisitCompilationUnit, endVisitField, endVisitInitializer, endVisitLocal, endVisitMethod, endVisitMethodArgument, endVisitStatement, endVisitType, setTrees, visitAnnotationOnField, visitAnnotationOnLocal, visitAnnotationOnMethod, visitAnnotationOnMethodArgument, visitAnnotationOnType, visitCompilationUnit, visitField, visitInitializer, visitLocal, visitMethod, visitMethodArgument, visitStatement
public boolean generateFieldDefaultsForType(JavacNode typeNode, JavacNode errorNode, AccessLevel level, boolean makeFinal, boolean checkForTypeLevelFieldDefaults)
public void setFieldDefaultsForField(JavacNode fieldNode, AccessLevel level, boolean makeFinal)
public void visitType(JavacNode typeNode, JCClassDecl type)
JavacASTAdapter
visitType
in interface JavacASTVisitor
visitType
in class JavacASTAdapter
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.