aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-05-28 19:30:34 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-05-30 10:50:47 +0200
commit2d9195a2296e36ce904719b63ff0e5c0321b2a74 (patch)
tree1d12cd2d471f67a7ddc53bb0d02bc09f86bbb1d9 /src/core/lombok/eclipse/handlers
parent21cfb45696126c185ab0fcb2fd863eaf711ab6d9 (diff)
downloadlombok-2d9195a2296e36ce904719b63ff0e5c0321b2a74.tar.gz
lombok-2d9195a2296e36ce904719b63ff0e5c0321b2a74.tar.bz2
lombok-2d9195a2296e36ce904719b63ff0e5c0321b2a74.zip
Removed the ability of lombok to run as ecj annotation processor, because
it won't actually work right; method-level generics would break. The new way is to use -javaagent:lombok.jar=ECJ in addition to -cp lombok.jar
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r--src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
index 4d397a3c..d16e3ead 100644
--- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
+++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
@@ -518,6 +518,10 @@ public class EclipseHandlerUtil {
report = false;
break;
}
+ if ("lombok.core.AnnotationProcessor".equals(elem.getClassName())) {
+ report = false;
+ break;
+ }
}
if (report) {