Home » cglib-src-2.2 » net.sf.cglib.reflect » [javadoc | source]
net.sf.cglib.reflect
abstract public class: FastClass [javadoc | source]
java.lang.Object
   net.sf.cglib.reflect.FastClass
Nested Class Summary:
public static class  FastClass.Generator   
Constructor:
 protected FastClass() 
 protected FastClass(Class type) 
Method from net.sf.cglib.reflect.FastClass Summary:
create,   create,   equals,   getConstructor,   getConstructor,   getIndex,   getIndex,   getIndex,   getJavaClass,   getMaxIndex,   getMethod,   getMethod,   getName,   getSignatureWithoutReturnType,   hashCode,   invoke,   invoke,   newInstance,   newInstance,   newInstance,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.sf.cglib.reflect.FastClass Detail:
 public static FastClass create(Class type) 
 public static FastClass create(ClassLoader loader,
    Class type) 
 public boolean equals(Object o) 
 public FastConstructor getConstructor(Constructor constructor) 
 public FastConstructor getConstructor(Class[] parameterTypes) 
 abstract public int getIndex(Class[] parameterTypes)
    Return the index of the matching constructor. The index may be used later to create a new instance with less overhead.
 abstract public int getIndex(Signature sig)
 abstract public int getIndex(String name,
    Class[] parameterTypes)
    Return the index of the matching method. The index may be used later to invoke the method with less overhead. If more than one method matches (i.e. they differ by return type only), one is chosen arbitrarily.
 public Class getJavaClass() 
 abstract public int getMaxIndex()
    Returns the maximum method index for this class.
 public FastMethod getMethod(Method method) 
 public FastMethod getMethod(String name,
    Class[] parameterTypes) 
 public String getName() 
 protected static String getSignatureWithoutReturnType(String name,
    Class[] parameterTypes) 
 public int hashCode() 
 abstract public Object invoke(int index,
    Object obj,
    Object[] args) throws InvocationTargetException
    Invoke the method with the specified index.
 public Object invoke(String name,
    Class[] parameterTypes,
    Object obj,
    Object[] args) throws InvocationTargetException 
 public Object newInstance() throws InvocationTargetException 
 public Object newInstance(Class[] parameterTypes,
    Object[] args) throws InvocationTargetException 
 abstract public Object newInstance(int index,
    Object[] args) throws InvocationTargetException
    Create a new instance using the specified constructor index and arguments.
 public String toString()