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 void
addDeclaredMethodsToList
(Class type, ArrayList<Method> methods) static MethodAccess
int
Returns the index of the first method with the specified name.int
Returns the index of the first method with the specified name and the specified number of arguments.int
Returns the index of the first method with the specified name and param types.String[]
Class[][]
Class[]
abstract Object
Invokes 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 void
recursiveAddInterfaceMethodsToList
(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
-