aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/apt/HandleANY_ecj.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-16 03:04:46 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-16 03:04:46 +0200
commitf36be2eb01bcbff01a513d64bff2d1aba54460b1 (patch)
tree7d49ebe90cb836e054c35d2a4382be6b999ca452 /src/lombok/apt/HandleANY_ecj.java
parentd78a04d74886101c81de77659b067d16cb2d0de2 (diff)
downloadlombok-f36be2eb01bcbff01a513d64bff2d1aba54460b1.tar.gz
lombok-f36be2eb01bcbff01a513d64bff2d1aba54460b1.tar.bz2
lombok-f36be2eb01bcbff01a513d64bff2d1aba54460b1.zip
Implemented a lot of stuff for javac, but we ran into 2 major issues still to be implemented:
1. The visit mode of a lombok handler (does not trigger off of annotations, instead sees every field, method, type, and statement), needs to be coded, 2. triggering off of annotations via APT's annotation handling system skips method-local classes. We'll need to recode this via an AST visitor like we need for issue #1 Other than that, triggering off of annotations works swimmingly!
Diffstat (limited to 'src/lombok/apt/HandleANY_ecj.java')
-rw-r--r--src/lombok/apt/HandleANY_ecj.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lombok/apt/HandleANY_ecj.java b/src/lombok/apt/HandleANY_ecj.java
deleted file mode 100644
index 587444d9..00000000
--- a/src/lombok/apt/HandleANY_ecj.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package lombok.apt;
-
-import java.lang.annotation.Annotation;
-
-import javax.lang.model.element.Element;
-import javax.tools.Diagnostic;
-
-public class HandleANY_ecj extends HandlerForCompiler<Annotation> {
- @Override public void handle(Element element, Annotation annotation) throws Exception {
- //TODO: We should find eclipse's eclipse.ini file and patch us in as a javaagent and bootclasspath/a.
- //Though, we should probably use reflection to find eclipse's SWT system and generate a popup dialog for
- //confirmation.
-
- String msg = "You'll need to install the eclipse patch. See http://lombok.github.org/ for more info.";
- processEnv.getMessager().printMessage(Diagnostic.Kind.WARNING, msg, element);
- }
-}