aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/TransformEclipseAST.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-15 22:32:44 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-15 22:32:44 +0200
commiteebc3450e4272688e09d1eadbaa61ea171fff1f7 (patch)
treef9778910b6ee22666fab4ea860b604b258201ca3 /src/lombok/eclipse/TransformEclipseAST.java
parentd2ffd52636113c5737e32779938511ae68a1a0fe (diff)
downloadlombok-eebc3450e4272688e09d1eadbaa61ea171fff1f7.tar.gz
lombok-eebc3450e4272688e09d1eadbaa61ea171fff1f7.tar.bz2
lombok-eebc3450e4272688e09d1eadbaa61ea171fff1f7.zip
all eclipse AST Statements objects are now part of the custom AST we build for lombok.
This way something like @AutoClose on a local var declaration can walk up one node, find all mentions of the variable, and add a close call right after the last mention.
Diffstat (limited to 'src/lombok/eclipse/TransformEclipseAST.java')
-rw-r--r--src/lombok/eclipse/TransformEclipseAST.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lombok/eclipse/TransformEclipseAST.java b/src/lombok/eclipse/TransformEclipseAST.java
index c9690953..f606733c 100644
--- a/src/lombok/eclipse/TransformEclipseAST.java
+++ b/src/lombok/eclipse/TransformEclipseAST.java
@@ -77,6 +77,7 @@ public class TransformEclipseAST {
String message = "Lombok can't parse this source: " + t.toString();
EclipseAST.addProblemToCompilationResult(fileName, ast, false, message, ast, 0, 0);
+ t.printStackTrace();
} catch ( Throwable t2 ) {
Eclipse.error("Can't create an error in the problems dialog while adding: " + t.toString(), t2);
}