@@ -0,0 +1,1648 @@
+package bugPatterns;%0A%0Apublic class BIT_SIGNED_CHECK %7B%0A%09%0A%09static final long HIGH_LONG = 0x8000000000000000L;%0A%09static final int LOW = 0x1;%0A%09%0A%09public boolean bugHighGT(long x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighGE(long x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighLT(long x) %7B%0A%09%09if ((x & HIGH_LONG) %3C 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighLE(long x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowGT(long x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowGE(long x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowLT(long x) %7B%0A%09%09if ((x & LOW) %3C 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowLE(long x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09%0A%09public boolean bugHighGT(int x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighGE(int x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighLT(int x) %7B%0A%09%09if ((x & HIGH_LONG) %3C 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugHighLE(int x) %7B%0A%09%09if ((x & HIGH_LONG) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowGT(int x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowGE(int x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowLT(int x) %7B%0A%09%09if ((x & LOW) %3C 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%09public boolean bugLowLE(int x) %7B%0A%09%09if ((x & LOW) %3E 0)%0A%09%09%09return true;%0A%09%09return false;%0A%09%7D%0A%0A%7D%0A

add test case for BIT_SIGNED_CHECK