diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-28 05:58:18 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-28 05:58:18 +0200 |
commit | 69844725fb9256a38c8f3e16d72a24c20a819e98 (patch) | |
tree | d129a5e07bc5ec21b7f8f95f35c66a6909df5929 /src/lombok/eclipse/EclipseAST.java | |
parent | 19f1b265931737a28760ccfe0200b4721f545989 (diff) | |
download | lombok-69844725fb9256a38c8f3e16d72a24c20a819e98.tar.gz lombok-69844725fb9256a38c8f3e16d72a24c20a819e98.tar.bz2 lombok-69844725fb9256a38c8f3e16d72a24c20a819e98.zip |
Preparating for java 1.5-ification. All stuff that isn't specific to javac should run in java 1.5, so that an eclipse started on a 1.5 JVM will still run lombok.
Diffstat (limited to 'src/lombok/eclipse/EclipseAST.java')
-rw-r--r-- | src/lombok/eclipse/EclipseAST.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lombok/eclipse/EclipseAST.java b/src/lombok/eclipse/EclipseAST.java index d202613b..c5bdd2ff 100644 --- a/src/lombok/eclipse/EclipseAST.java +++ b/src/lombok/eclipse/EclipseAST.java @@ -14,7 +14,6 @@ import org.eclipse.jdt.internal.compiler.ast.ASTNode; import org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration; import org.eclipse.jdt.internal.compiler.ast.Annotation; import org.eclipse.jdt.internal.compiler.ast.Argument; -import org.eclipse.jdt.internal.compiler.ast.Block; import org.eclipse.jdt.internal.compiler.ast.Clinit; import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration; import org.eclipse.jdt.internal.compiler.ast.FieldDeclaration; @@ -22,7 +21,6 @@ import org.eclipse.jdt.internal.compiler.ast.ImportReference; import org.eclipse.jdt.internal.compiler.ast.Initializer; import org.eclipse.jdt.internal.compiler.ast.LocalDeclaration; import org.eclipse.jdt.internal.compiler.ast.Statement; -import org.eclipse.jdt.internal.compiler.ast.TryStatement; import org.eclipse.jdt.internal.compiler.ast.TypeDeclaration; import org.eclipse.jdt.internal.compiler.problem.DefaultProblem; import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities; @@ -149,23 +147,6 @@ public class EclipseAST extends AST<ASTNode> { super(node, children, kind); } - public void rebuild() { - super.rebuild(); - System.out.println("REBUILD COMPLETE"); - AbstractMethodDeclaration me = (AbstractMethodDeclaration) get(); - for ( Statement outer : me.statements ) { - System.out.println("OUTER: "+ outer); - if ( outer instanceof TryStatement ) { - TryStatement ts = (TryStatement)outer; - Block tb = ((TryStatement) outer).tryBlock; - for ( Statement inner : tb.statements ) { - System.out.println("INNER: " + inner); - } - } - } - System.out.println("/REBUILD COMPLETE"); - } - public void traverse(EclipseASTVisitor visitor) { switch ( getKind() ) { case COMPILATION_UNIT: |