code: static void checkOpcode(final int opcode, final int type) {
          if (opcode < 0 || opcode > 199 || TYPE[opcode] != type) {
              throw new IllegalArgumentException("Invalid opcode: " + opcode);
          }
      }
docs: Checks that the type of the given opcode is equal to the given type.
  
  @param opcode
  the opcode to be checked.
  @param type
  the expected opcode type.