diff options
author | Roel Spilker <r.spilker@gmail.com> | 2011-08-16 00:18:32 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2011-08-16 00:18:32 +0200 |
commit | 844b36b47c9fec02473b5d27c74c10f10d5c5fc2 (patch) | |
tree | 66780360206b4959608b4e411e29391f0ff896da /src/core/lombok/javac/handlers/HandleCleanup.java | |
parent | b64016cd901985911df3a8f1e3bbf8d55b922a26 (diff) | |
download | lombok-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.java | 2 |
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); |