diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2009-12-30 02:03:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2009-12-30 02:04:01 +0100 |
commit | a3494aa6088b93df70996c0d24739efef82f7279 (patch) | |
tree | 8990d73c5a852e95edc1a27b73948feb993f8344 /src/eclipseAgent | |
parent | f3574ee0cb96a61a15f368bf82e55cc4ac313030 (diff) | |
download | lombok-a3494aa6088b93df70996c0d24739efef82f7279.tar.gz lombok-a3494aa6088b93df70996c0d24739efef82f7279.tar.bz2 lombok-a3494aa6088b93df70996c0d24739efef82f7279.zip |
Command line compiling with ecj at source 1.6 now works!
Diffstat (limited to 'src/eclipseAgent')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java index 1430ca8c..5d0722b0 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java @@ -13,11 +13,11 @@ public class PatchFixes { return in; } - private static final int BIT24 = 0x800000; + public static final int ALREADY_PROCESSED_FLAG = 0x800000; //Bit 24 public static boolean checkBit24(Object node) throws Exception { int bits = (Integer)(node.getClass().getField("bits").get(node)); - return (bits & BIT24) != 0; + return (bits & ALREADY_PROCESSED_FLAG) != 0; } public static boolean skipRewritingGeneratedNodes(org.eclipse.jdt.core.dom.ASTNode node) throws Exception { |