aboutsummaryrefslogtreecommitdiff
path: root/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
blob: e36823b2ccfa0193a012bbc362df710ec11f0787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package lombok.eclipse.agent;

public class PatchFixes {
	public static int fixRetrieveStartingCatchPosition(int in) {
		return in;
	}
	
	private static final int BIT24 = 0x800000;
	
	public static boolean checkBit24(Object node) throws Exception {
		int bits = (Integer)(node.getClass().getField("bits").get(node));
		return (bits & BIT24) != 0;
	}
}