Package net.sf.cglib.reflect
Class FastMethod
- java.lang.Object
-
- net.sf.cglib.reflect.FastMember
-
- net.sf.cglib.reflect.FastMethod
-
public class FastMethod extends FastMember
-
-
Field Summary
-
Fields inherited from class net.sf.cglib.reflect.FastMember
fc, index, member
-
-
Constructor Summary
Constructors Constructor Description FastMethod(FastClass fc, java.lang.reflect.Method method)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class[]
getExceptionTypes()
java.lang.reflect.Method
getJavaMethod()
java.lang.Class[]
getParameterTypes()
java.lang.Class
getReturnType()
private static int
helper(FastClass fc, java.lang.reflect.Method method)
java.lang.Object
invoke(java.lang.Object obj, java.lang.Object[] args)
-
Methods inherited from class net.sf.cglib.reflect.FastMember
equals, getDeclaringClass, getIndex, getModifiers, getName, hashCode, toString
-
-
-
-
Constructor Detail
-
FastMethod
FastMethod(FastClass fc, java.lang.reflect.Method method)
-
-
Method Detail
-
helper
private static int helper(FastClass fc, java.lang.reflect.Method method)
-
getReturnType
public java.lang.Class getReturnType()
-
getParameterTypes
public java.lang.Class[] getParameterTypes()
- Specified by:
getParameterTypes
in classFastMember
-
getExceptionTypes
public java.lang.Class[] getExceptionTypes()
- Specified by:
getExceptionTypes
in classFastMember
-
invoke
public java.lang.Object invoke(java.lang.Object obj, java.lang.Object[] args) throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException
-
getJavaMethod
public java.lang.reflect.Method getJavaMethod()
-
-