public final String listingString(DalvInsn insn, boolean noteIndices) {
    String op = insn.getOpcode().getName();
    String arg = insnArgString(insn);
    String comment = insnCommentString(insn, noteIndices);
    StringBuilder sb = new StringBuilder(100);

    sb.append(op);

    if (arg.length() != 0) {
      sb.append(' ');
      sb.append(arg);
    }

    if (comment.length() != 0) {
      sb.append(" // ");
      sb.append(comment);
    }

    return sb.toString();
  }
Returns the string form, suitable for inclusion in a listing dump, of the given instruction.
The instruction must be of this instance's format for proper operation.

@param insn {@code non-null;} the instruction
@param noteIndices whether to include an explicit notation of constant pool indices
@return {@code non-null;} the string form
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/InsnFormat.java