boolean singleIfBranch() {
          int branch = 0;

          for (int i = 0; i < graph.transitions.length; i++) {
            int[] transition = graph.transitions[i];
            if (transition.length == 2) {
              branch++;
              int opCode = graph.methodNode.instructions.get(i).getOpcode();
              boolean isIfInsn = opCode == Opcodes.IFEQ || opCode == Opcodes.IFNE;
              if (!isIfInsn) {
                return false;
              }
            }
            if (branch > 1)
              return false;
          }
          return branch == 1;
        }
boolean singleIfBranch()