javassist.bytecode

Class ClassFileWriter

public class ClassFileWriter extends Object

A utility class for priting the contents of a class file. It prints a constant pool table, fields, and methods in a human readable representation.
Method Summary
static voidprint(ClassFile cf)
Prints the contents of a class file to the standard output stream.
static voidprint(ClassFile cf, PrintWriter out)
Prints the contents of a class file.

Method Detail

print

public static void print(ClassFile cf)
Prints the contents of a class file to the standard output stream.

print

public static void print(ClassFile cf, PrintWriter out)
Prints the contents of a class file.
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.