public Dop getOppositeTest() {
    switch (opcode) {
      case Opcodes.IF_EQ:
        return Dops.IF_NE;
      case Opcodes.IF_NE:
        return Dops.IF_EQ;
      case Opcodes.IF_LT:
        return Dops.IF_GE;
      case Opcodes.IF_GE:
        return Dops.IF_LT;
      case Opcodes.IF_GT:
        return Dops.IF_LE;
      case Opcodes.IF_LE:
        return Dops.IF_GT;
      case Opcodes.IF_EQZ:
        return Dops.IF_NEZ;
      case Opcodes.IF_NEZ:
        return Dops.IF_EQZ;
      case Opcodes.IF_LTZ:
        return Dops.IF_GEZ;
      case Opcodes.IF_GEZ:
        return Dops.IF_LTZ;
      case Opcodes.IF_GTZ:
        return Dops.IF_LEZ;
      case Opcodes.IF_LEZ:
        return Dops.IF_GTZ;
    }

    throw new IllegalArgumentException("bogus opcode: " + this);
  }
Gets the opcode for the opposite test of this instance. This is only valid for opcodes which
are in fact tests.

@return {@code non-null;} the opposite test
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/Dop.java