Class ClassDumper

java.lang.Object
com.android.dx.command.dump.BaseDumper
com.android.dx.command.dump.ClassDumper
All Implemented Interfaces:
ParseObserver

public final class ClassDumper extends BaseDumper
Utility to dump the contents of class files in a human-friendly form.
  • Method Details

    • dump

      public static void dump(byte[] bytes, PrintStream out, String filePath, com.android.dx.command.dump.Args args)
      Dumps the given array, interpreting it as a class file.
      Parameters:
      bytes - non-null; bytes of the (alleged) class file
      out - non-null; where to dump to passed in as <= 0
      filePath - the file path for the class, excluding any base directory specification
      args - bag of commandline arguments
    • dump

      public void dump()
      Does the dumping.