aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-10 00:24:10 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-10 00:24:24 +0100
commit63519f9ae601e00430c5fd542bedf79beb688db3 (patch)
treed59a042854993304a4ce1b8445c7b80e9f617855
parentcbbb54a1333e8d40ae04ee0fd0e09e0997482c8c (diff)
downloadlombok-63519f9ae601e00430c5fd542bedf79beb688db3.tar.gz
lombok-63519f9ae601e00430c5fd542bedf79beb688db3.tar.bz2
lombok-63519f9ae601e00430c5fd542bedf79beb688db3.zip
Undone something that'll never work anyway
-rw-r--r--src/core/lombok/javac/JavacResolution.java1
-rw-r--r--src/core/lombok/javac/JavacTransformer.java6
2 files changed, 0 insertions, 7 deletions
diff --git a/src/core/lombok/javac/JavacResolution.java b/src/core/lombok/javac/JavacResolution.java
index 26ff34d0..e0eb436d 100644
--- a/src/core/lombok/javac/JavacResolution.java
+++ b/src/core/lombok/javac/JavacResolution.java
@@ -11,7 +11,6 @@ import javax.lang.model.type.TypeKind;
import javax.tools.DiagnosticListener;
import com.sun.tools.javac.code.BoundKind;
-import com.sun.tools.javac.code.Symbol;
import com.sun.tools.javac.code.Symbol.TypeSymbol;
import com.sun.tools.javac.code.Symtab;
import com.sun.tools.javac.code.Type.ArrayType;
diff --git a/src/core/lombok/javac/JavacTransformer.java b/src/core/lombok/javac/JavacTransformer.java
index c703b1c7..5d1e79af 100644
--- a/src/core/lombok/javac/JavacTransformer.java
+++ b/src/core/lombok/javac/JavacTransformer.java
@@ -25,8 +25,6 @@ import java.util.ArrayList;
import javax.annotation.processing.Messager;
-import com.sun.tools.javac.comp.Enter;
-import com.sun.tools.javac.comp.MemberEnter;
import com.sun.tools.javac.tree.JCTree.JCAnnotation;
import com.sun.tools.javac.tree.JCTree.JCClassDecl;
import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
@@ -65,10 +63,6 @@ public class JavacTransformer {
handlers.callASTVisitors(ast);
}
- context.put(Enter.class, (Enter) null);
- context.put(MemberEnter.class, (MemberEnter) null);
- Enter.instance(context).main(compilationUnits);
-
handlers.setPostResolutionPhase();
for (JavacAST ast : asts) {
ast.traverse(new AnnotationVisitor());