org.jboss.javassist
Class JavassistUtil

java.lang.Object
  extended by org.jboss.javassist.JavassistUtil

public class JavassistUtil
extends Object

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Constructor Summary
JavassistUtil()
           
 
Method Summary
static javassist.CtClass getCtClass(Class clazz)
          Get the javassist class
static javassist.CtConstructor getCtConstructor(Constructor constructor)
          Get the javassist constructor
static javassist.CtField getCtField(Field field)
          Get the javassist field
static javassist.CtMethod getCtMethod(Method method)
          Get the javassist method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavassistUtil

public JavassistUtil()
Method Detail

getCtClass

public static javassist.CtClass getCtClass(Class clazz)
Get the javassist class

Parameters:
clazz - the class
Returns:
the javassist method

getCtMethod

public static javassist.CtMethod getCtMethod(Method method)
Get the javassist method

Parameters:
method - the method
Returns:
the javassist method

getCtConstructor

public static javassist.CtConstructor getCtConstructor(Constructor constructor)
Get the javassist constructor

Parameters:
constructor - the constructor
Returns:
the javassist constructor

getCtField

public static javassist.CtField getCtField(Field field)
Get the javassist field

Parameters:
field - the field
Returns:
the javassist field


Copyright © 2005-2007 JBoss, a division of Red Hat, Inc. All Rights Reserved.