java.lang.Object
com.esotericsoftware.reflectasm.MethodAccess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodAccess
Creates a new MethodAccess for the specified type.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.
-
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
Creates a new MethodAccess for the specified type.- Parameters:
type
- Must not be a primitive type, or void.
-