org.hibernate.bytecode.javassist

Class FastClass

Implemented Interfaces:
Serializable

public class FastClass
extends java.lang.Object
implements Serializable

Author:
Muga Nishizawa

Method Summary

static FastClass
create(Class type)
boolean
equals(Object o)
int
getIndex(Class[] parameterTypes)
int
getIndex(String name, Class[] parameterTypes)
Class
getJavaClass()
int
getMaxIndex()
String
getName()
int
hashCode()
Object
invoke(String name, Class[] parameterTypes, Object obj, Object[] args)
Object
invoke(int index, Object obj, Object[] args)
Object
newInstance()
Object
newInstance(Class[] parameterTypes, Object[] args)
Object
newInstance(int index, Object[] args)
String
toString()

Method Details

create

public static FastClass create(Class type)

equals

public boolean equals(Object o)

getIndex

public int getIndex(Class[] parameterTypes)

getIndex

public int getIndex(String name,
                    Class[] parameterTypes)

getJavaClass

public Class getJavaClass()

getMaxIndex

public int getMaxIndex()

getName

public String getName()

hashCode

public int hashCode()

invoke

public Object invoke(String name,
                     Class[] parameterTypes,
                     Object obj,
                     Object[] args)
            throws InvocationTargetException

invoke

public Object invoke(int index,
                     Object obj,
                     Object[] args)
            throws InvocationTargetException

newInstance

public Object newInstance()
            throws InvocationTargetException

newInstance

public Object newInstance(Class[] parameterTypes,
                          Object[] args)
            throws InvocationTargetException

newInstance

public Object newInstance(int index,
                          Object[] args)
            throws InvocationTargetException

toString

public String toString()