Package com.prineside.reflectasm
Class MethodAccess
java.lang.Object
com.prineside.reflectasm.MethodAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodAccessCreates a new MethodAccess for the specified type.intReturns 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.
-
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.
-