diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-04 00:08:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-04 00:08:48 +0100 |
commit | 58a7914027e3373faa942aa4ce7df2d3ebfb9a20 (patch) | |
tree | cb0627b028f9753a7b4c94ec2373c07a4f3fd9f8 /src/utils/lombok/javac | |
parent | 74b38cd7d6806723145f6183273468996ea7dd57 (diff) | |
download | lombok-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/lombok/javac')
-rw-r--r-- | src/utils/lombok/javac/TreeMirrorMaker.java | 14 |
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; - } } |