aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleCleanup.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-08-16 00:18:32 +0200
committerRoel Spilker <r.spilker@gmail.com>2011-08-16 00:18:32 +0200
commit844b36b47c9fec02473b5d27c74c10f10d5c5fc2 (patch)
tree66780360206b4959608b4e411e29391f0ff896da /src/core/lombok/javac/handlers/HandleCleanup.java
parentb64016cd901985911df3a8f1e3bbf8d55b922a26 (diff)
downloadlombok-844b36b47c9fec02473b5d27c74c10f10d5c5fc2.tar.gz
lombok-844b36b47c9fec02473b5d27c74c10f10d5c5fc2.tar.bz2
lombok-844b36b47c9fec02473b5d27c74c10f10d5c5fc2.zip
Renamed Javac.getCTCint to getCtcInt
Made delombok work with multiple JavaCompiler's on the classpath Made @Getter(lazy=true) work on javac7 (fixes issue#223)
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleCleanup.java')
-rw-r--r--src/core/lombok/javac/handlers/HandleCleanup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleCleanup.java b/src/core/lombok/javac/handlers/HandleCleanup.java
index cc1eb174..43dacda2 100644
--- a/src/core/lombok/javac/handlers/HandleCleanup.java
+++ b/src/core/lombok/javac/handlers/HandleCleanup.java
@@ -118,7 +118,7 @@ public class HandleCleanup extends JavacAnnotationHandler<Cleanup> {
maker.Apply(List.<JCExpression>nil(), cleanupMethod, List.<JCExpression>nil())));
JCMethodInvocation preventNullAnalysis = preventNullAnalysis(maker, annotationNode, maker.Ident(decl.name));
- JCBinary isNull = maker.Binary(Javac.getCTCint(JCTree.class, "NE"), preventNullAnalysis, maker.Literal(Javac.getCTCint(TypeTags.class, "BOT"), null));
+ JCBinary isNull = maker.Binary(Javac.getCtcInt(JCTree.class, "NE"), preventNullAnalysis, maker.Literal(Javac.getCtcInt(TypeTags.class, "BOT"), null));
JCIf ifNotNullCleanup = maker.If(isNull, maker.Block(0, cleanupCall), null);