Package com.esotericsoftware.reflectasm
Class MethodAccess
java.lang.Object
com.esotericsoftware.reflectasm.MethodAccess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddDeclaredMethodsToList(Class type, ArrayList<Method> methods) static MethodAccessintReturns the index of the first method with the specified name.intReturns the index of the first method with the specified name and the specified number of arguments.intReturns the index of the first method with the specified name and param types.String[]Class[][]Class[]abstract ObjectInvokes the method with the specified name and the specified param types.Invokes the first method with the specified name and the specified number of arguments.private static voidrecursiveAddInterfaceMethodsToList(Class interfaceType, ArrayList<Method> methods)
-
Field Details
-
methodNames
-
parameterTypes
-
returnTypes
-
-
Constructor Details
-
MethodAccess
public MethodAccess()
-
-
Method Details
-
invoke
-
invoke
Invokes the method with the specified name and the specified param types. -
invoke
Invokes the first method with the specified name and the specified number of arguments. -
getIndex
Returns the index of the first method with the specified name. -
getIndex
Returns the index of the first method with the specified name and param types. -
getIndex
Returns the index of the first method with the specified name and the specified number of arguments. -
getMethodNames
-
getParameterTypes
-
getReturnTypes
-
get
-
addDeclaredMethodsToList
-
recursiveAddInterfaceMethodsToList
-