classUtils.javassist.bytecode
Class ClassFileWriter

java.lang.Object
  extended by classUtils.javassist.bytecode.ClassFileWriter

public class ClassFileWriter
extends java.lang.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.


Constructor Summary
ClassFileWriter()
           
 
Method Summary
static void print(JAClassFile cf)
          Prints the contents of a class file to the standard output stream.
static void print(JAClassFile cf, java.io.PrintWriter out)
          Prints the contents of a class file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFileWriter

public ClassFileWriter()
Method Detail

print

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


print

public static void print(JAClassFile cf,
                         java.io.PrintWriter out)
Prints the contents of a class file.