diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-27 00:38:58 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-27 00:38:58 +0100 |
commit | e5d248c3ccf64211fd8a301f584bde82dd426601 (patch) | |
tree | 5f9000e70adc10b24e009f611c068eba99a31a6e /src/core/lombok/javac/JavacAST.java | |
parent | f22021ca7808af2cd0ba03b7c34b8fd3758ff44b (diff) | |
download | lombok-e5d248c3ccf64211fd8a301f584bde82dd426601.tar.gz lombok-e5d248c3ccf64211fd8a301f584bde82dd426601.tar.bz2 lombok-e5d248c3ccf64211fd8a301f584bde82dd426601.zip |
delombok now calls lombok. wahey!
Diffstat (limited to 'src/core/lombok/javac/JavacAST.java')
-rw-r--r-- | src/core/lombok/javac/JavacAST.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java index f2c83fb8..77c63cfe 100644 --- a/src/core/lombok/javac/JavacAST.java +++ b/src/core/lombok/javac/JavacAST.java @@ -32,7 +32,6 @@ import javax.tools.JavaFileObject; import lombok.core.AST; -import com.sun.source.util.Trees; import com.sun.tools.javac.code.Symtab; import com.sun.tools.javac.tree.JCTree; import com.sun.tools.javac.tree.TreeMaker; @@ -66,13 +65,11 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> { /** * Creates a new JavacAST of the provided Compilation Unit. * - * @param trees The trees instance to use to inspect the compilation unit. Generate via: - * {@code Trees.getInstance(env)} * @param messager A Messager for warning and error reporting. * @param context A Context object for interfacing with the compiler. * @param top The compilation unit, which serves as the top level node in the tree to be built. */ - public JavacAST(Trees trees, Messager messager, Context context, JCCompilationUnit top) { + public JavacAST(Messager messager, Context context, JCCompilationUnit top) { super(top.sourcefile == null ? null : top.sourcefile.toString()); setTop(buildCompilationUnit(top)); this.context = context; |