aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-02-04 00:08:48 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-02-04 00:08:48 +0100
commit58a7914027e3373faa942aa4ce7df2d3ebfb9a20 (patch)
treecb0627b028f9753a7b4c94ec2373c07a4f3fd9f8 /src/utils
parent74b38cd7d6806723145f6183273468996ea7dd57 (diff)
downloadlombok-58a7914027e3373faa942aa4ce7df2d3ebfb9a20.tar.gz
lombok-58a7914027e3373faa942aa4ce7df2d3ebfb9a20.tar.bz2
lombok-58a7914027e3373faa942aa4ce7df2d3ebfb9a20.zip
@UtilityClass handlers now more intelligent about inner types of implicitly static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/lombok/javac/TreeMirrorMaker.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/utils/lombok/javac/TreeMirrorMaker.java b/src/utils/lombok/javac/TreeMirrorMaker.java
index 093839d7..918a3242 100644
--- a/src/utils/lombok/javac/TreeMirrorMaker.java
+++ b/src/utils/lombok/javac/TreeMirrorMaker.java
@@ -29,13 +29,9 @@ import java.util.Map;
import static lombok.javac.Javac.*;
import lombok.javac.JavacTreeMaker.TypeTag;
-import com.sun.source.tree.ClassTree;
import com.sun.source.tree.LabeledStatementTree;
-import com.sun.source.tree.NewClassTree;
import com.sun.source.tree.VariableTree;
import com.sun.tools.javac.tree.JCTree;
-import com.sun.tools.javac.tree.JCTree.JCClassDecl;
-import com.sun.tools.javac.tree.JCTree.JCNewClass;
import com.sun.tools.javac.tree.JCTree.JCVariableDecl;
import com.sun.tools.javac.tree.TreeCopier;
import com.sun.tools.javac.util.Context;
@@ -123,14 +119,4 @@ public class TreeMirrorMaker extends TreeCopier<Void> {
@Override public JCTree visitLabeledStatement(LabeledStatementTree node, Void p) {
return node.getStatement().accept(this, p);
}
-
- @Override public JCTree visitNewClass(NewClassTree node, Void p) {
- JCNewClass copy = (JCNewClass) super.visitNewClass(node, p);
- return copy;
- }
-
- @Override public JCTree visitClass(ClassTree node, Void p) {
- JCClassDecl copy = (JCClassDecl) super.visitClass(node, p);
- return copy;
- }
}