org.sourceforge.jemm.weaver.util
Class Dump

java.lang.Object
  extended by org.sourceforge.jemm.weaver.util.Dump

public final class Dump
extends java.lang.Object

Utility class to dump the CtClass version of a given class loaded from the classpath.

Author:
Paul Keeble

Method Summary
static javassist.CtClass loadClass(java.lang.String className)
          Load the named from the classpath using the JavaAssist libraries
static void main(java.lang.String[] args)
          main method to dump a class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
main method to dump a class.

Parameters:
args - The command line arguments ( usage java ...Dump 'classname' )

loadClass

public static javassist.CtClass loadClass(java.lang.String className)
Load the named from the classpath using the JavaAssist libraries

Parameters:
className - The formal classname.
Returns:
The CtClass representation of the given class.


Copyright © 2009. All Rights Reserved.