|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlombok.eclipse.EclipseAnnotationHandler<Synchronized>
lombok.eclipse.handlers.HandleSynchronized
@ProviderFor(value=EclipseAnnotationHandler.class) public class HandleSynchronized
Handles the lombok.Synchronized annotation for eclipse.
| Constructor Summary | |
|---|---|
HandleSynchronized()
|
|
| Method Summary | |
|---|---|
boolean |
deferUntilPostDiet()
Return true if this handler should not be run in the diet parse phase. |
void |
handle(AnnotationValues<Synchronized> annotation,
org.eclipse.jdt.internal.compiler.ast.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,
org.eclipse.jdt.internal.compiler.ast.Annotation source,
EclipseNode annotationNode)
Called when you want to defer until post diet, and we're still in pre-diet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandleSynchronized()
| Method Detail |
|---|
public boolean deferUntilPostDiet()
EclipseAnnotationHandlertrue here. Otherwise, return false here.
deferUntilPostDiet in class EclipseAnnotationHandler<Synchronized>
public void preHandle(AnnotationValues<Synchronized> annotation,
org.eclipse.jdt.internal.compiler.ast.Annotation source,
EclipseNode annotationNode)
EclipseAnnotationHandler
preHandle in class EclipseAnnotationHandler<Synchronized>
public void handle(AnnotationValues<Synchronized> annotation,
org.eclipse.jdt.internal.compiler.ast.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.
|
Lombok - v0.10.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||