public void debugPrint(Writer out, boolean verbose) {
    PrintWriter pw = Writers.printWriterFor(out);

    pw.println(getClass().getName() + " {");
    pw.println("  accessFlags: " + Hex.u2(accessFlags));
    pw.println("  superclass: " + superclass);
    pw.println("  interfaces: " + ((interfaces == null) ? "<none>" : interfaces));
    pw.println("  sourceFile: " + ((sourceFile == null) ? "<none>" : sourceFile.toQuoted()));

    classData.debugPrint(out, verbose);
    annotationsDirectory.debugPrint(pw);

    pw.println("}");
  }
Prints out the contents of this instance, in a debugging-friendly way.

@param out {@code non-null;} where to output to
@param verbose whether to be verbose with the output
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/ClassDefItem.java