aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleData.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-06-02 06:37:01 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-06-02 06:43:48 +0200
commit964b82124dd92e91652925a450ab9208e41df601 (patch)
treeef92d5c72f86fc70ceb4e4693b188bedc5e9ed40 /src/core/lombok/eclipse/handlers/HandleData.java
parentcd6eee36cfc10e2dcb1dc12cbaa27db7c0b384a5 (diff)
downloadlombok-964b82124dd92e91652925a450ab9208e41df601.tar.gz
lombok-964b82124dd92e91652925a450ab9208e41df601.tar.bz2
lombok-964b82124dd92e91652925a450ab9208e41df601.zip
Eclipse handlers can now opt out of being run in diet-parse mode. Fixes Synchronized and SneakyThrows
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleData.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleData.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleData.java b/src/core/lombok/eclipse/handlers/HandleData.java
index 9b3d7e51..5d05af6b 100644
--- a/src/core/lombok/eclipse/handlers/HandleData.java
+++ b/src/core/lombok/eclipse/handlers/HandleData.java
@@ -37,6 +37,10 @@ import org.mangosdk.spi.ProviderFor;
*/
@ProviderFor(EclipseAnnotationHandler.class)
public class HandleData implements EclipseAnnotationHandler<Data> {
+ @Override public boolean deferUntilPostDiet() {
+ return false;
+ }
+
public void handle(AnnotationValues<Data> annotation, Annotation ast, EclipseNode annotationNode) {
Data ann = annotation.getInstance();
EclipseNode typeNode = annotationNode.up();