Top Description Constructors Methods
javassist.tools

public Class Dump

extends Object
Class Inheritance
Imports
java.io.DataInputStream, .FileInputStream, .PrintWriter, javassist.bytecode.ClassFile, .ClassFilePrinter

Dump is a tool for viewing the class definition in the given class file. Unlike the JDK javap tool, Dump works even if the class file is broken.

For example,

% java javassist.tools.Dump foo.class

prints the contents of the constant pool and the list of methods and fields.

Constructor Summary

AccessConstructor and Description
private
Dump()

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[]
args[0] is the class file name.
args
)

Main method.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Dumpback to summary
private Dump()

Method Detail

mainback to summary
public static void main(String[] args) throws Exception

Main method.

Parameters
args:String[]

args[0] is the class file name.