boolean () { try { final boolean[] origins = OriginsAnalysis.resultOrigins( leakingParametersAndFrames(method, graph.methodNode, argumentTypes, jsr).frames, graph.methodNode.instructions, graph); for (int i = 0; i < origins.length; i++) { if (origins[i]) { int opCode = graph.methodNode.instructions.get(i).getOpcode(); boolean isBooleanConst = opCode == Opcodes.ICONST_0 || opCode == Opcodes.ICONST_1; if (!isBooleanConst) { return false; } } } return true; } catch (AnalyzerException ignore) { } return false; }