| java.lang.Object net.sf.cglib.reflect.FastClass
FastClass | abstract public class FastClass (Code) | | |
Method Summary | |
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(String name, Class[] parameterTypes) Return the index of the matching method. | abstract public int | getIndex(Class[] parameterTypes) Return the index of the matching constructor. | abstract public int | getIndex(Signature sig) | 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() | public Object | invoke(String name, Class[] parameterTypes, Object obj, Object[] args) | abstract public Object | invoke(int index, Object obj, Object[] args) Invoke the method with the specified index. | public Object | newInstance() | public Object | newInstance(Class[] parameterTypes, Object[] args) | abstract public Object | newInstance(int index, Object[] args) Create a new instance using the specified constructor index and arguments. | public String | toString() |
FastClass | protected FastClass()(Code) | | |
getIndex | abstract public int getIndex(String name, Class[] parameterTypes)(Code) | | 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.
See Also: FastClass.invoke(int,Object,Object[]) Parameters: name - the method name Parameters: parameterTypes - the parameter array the index, or -1 if none is found. |
getIndex | abstract public int getIndex(Class[] parameterTypes)(Code) | | Return the index of the matching constructor. The index may be used
later to create a new instance with less overhead.
See Also: FastClass.newInstance(int,Object[]) Parameters: parameterTypes - the parameter array the constructor index, or -1 if none is found. |
getMaxIndex | abstract public int getMaxIndex()(Code) | | Returns the maximum method index for this class.
|
getSignatureWithoutReturnType | protected static String getSignatureWithoutReturnType(String name, Class[] parameterTypes)(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|