diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-28 03:10:34 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-28 03:10:34 +0200 |
commit | 4dbe3802fda3b317bb82bca80d7c69f58b239cfd (patch) | |
tree | 03ee93afc636ae82ed922a9150b6438dead0ee5b /src/utils/lombok/javac/TreeMirrorMaker.java | |
parent | e2af5ed0c7786e01bec861f21f2e5ec3bc5ea33f (diff) | |
download | lombok-4dbe3802fda3b317bb82bca80d7c69f58b239cfd.tar.gz lombok-4dbe3802fda3b317bb82bca80d7c69f58b239cfd.tar.bz2 lombok-4dbe3802fda3b317bb82bca80d7c69f58b239cfd.zip |
more progress. This one is less JDK8 compatible, but
it has major refactorings to make JDK6-8 support
possibly with much prettier code.
Diffstat (limited to 'src/utils/lombok/javac/TreeMirrorMaker.java')
-rw-r--r-- | src/utils/lombok/javac/TreeMirrorMaker.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils/lombok/javac/TreeMirrorMaker.java b/src/utils/lombok/javac/TreeMirrorMaker.java index 30915572..23ec2406 100644 --- a/src/utils/lombok/javac/TreeMirrorMaker.java +++ b/src/utils/lombok/javac/TreeMirrorMaker.java @@ -31,7 +31,6 @@ import com.sun.source.tree.VariableTree; import com.sun.tools.javac.tree.JCTree; import com.sun.tools.javac.tree.JCTree.JCVariableDecl; import com.sun.tools.javac.tree.TreeCopier; -import com.sun.tools.javac.tree.TreeMaker; import com.sun.tools.javac.util.List; /** @@ -47,8 +46,8 @@ import com.sun.tools.javac.util.List; public class TreeMirrorMaker extends TreeCopier<Void> { private final IdentityHashMap<JCTree, JCTree> originalToCopy = new IdentityHashMap<JCTree, JCTree>(); - public TreeMirrorMaker(TreeMaker maker) { - super(maker); + public TreeMirrorMaker(JavacTreeMaker maker) { + super(maker.getUnderlyingTreeMaker()); } @Override public <T extends JCTree> T copy(T original) { |