@ProviderFor(value=EclipseAnnotationHandler.class) public class HandleSynchronized extends EclipseAnnotationHandler<Synchronized>
lombok.Synchronized
annotation for eclipse.Constructor and Description |
---|
HandleSynchronized() |
Modifier and Type | Method and Description |
---|---|
char[] |
createLockField(AnnotationValues<Synchronized> annotation,
EclipseNode annotationNode,
boolean isStatic,
boolean reportErrors) |
void |
handle(AnnotationValues<Synchronized> annotation,
Annotation source,
EclipseNode annotationNode)
Called when an annotation is found that is likely to match the annotation you're interested in.
|
void |
preHandle(AnnotationValues<Synchronized> annotation,
Annotation source,
EclipseNode annotationNode)
Called when you want to defer until post diet, and we're still in pre-diet.
|
getAnnotationHandledByThisHandler
public void preHandle(AnnotationValues<Synchronized> annotation, Annotation source, EclipseNode annotationNode)
EclipseAnnotationHandler
preHandle
in class EclipseAnnotationHandler<Synchronized>
public char[] createLockField(AnnotationValues<Synchronized> annotation, EclipseNode annotationNode, boolean isStatic, boolean reportErrors)
public void handle(AnnotationValues<Synchronized> annotation, Annotation source, EclipseNode annotationNode)
EclipseAnnotationHandler
handle
in class EclipseAnnotationHandler<Synchronized>
annotation
- The actual annotation - use this object to retrieve the annotation parameters.source
- 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-2015 The Project Lombok Authors, licensed under the MIT licence.