@ProviderFor(value=EclipseAnnotationHandler.class) public static class HandleConstructor.HandleRequiredArgsConstructor extends EclipseAnnotationHandler<RequiredArgsConstructor>
Constructor and Description |
---|
HandleConstructor.HandleRequiredArgsConstructor() |
Modifier and Type | Method and Description |
---|---|
void |
handle(AnnotationValues<RequiredArgsConstructor> annotation,
org.eclipse.jdt.internal.compiler.ast.Annotation ast,
EclipseNode annotationNode)
Called when an annotation is found that is likely to match the annotation you're interested in.
|
getAnnotationHandledByThisHandler, preHandle
public HandleConstructor.HandleRequiredArgsConstructor()
public void handle(AnnotationValues<RequiredArgsConstructor> annotation, org.eclipse.jdt.internal.compiler.ast.Annotation ast, EclipseNode annotationNode)
EclipseAnnotationHandler
handle
in class EclipseAnnotationHandler<RequiredArgsConstructor>
annotation
- The actual annotation - use this object to retrieve the annotation parameters.ast
- The Eclipse AST node representing the annotation.annotationNode
- The Lombok AST wrapper around the 'ast' parameter. You can use this object
to travel back up the chain (something javac AST can't do) to the parent of the annotation, as well
as access useful methods such as generating warnings or errors focused on the annotation.Copyright © 2009-2014 The Project Lombok Authors, licensed under the MIT licence.