示例

public class ClassA {
int a; public void methodA() {

boolean b = (a & 0)==0; // ...
}

}
解决方案 重新考虑逻辑。