Package net.bytebuddy.utility.privilege
Class GetMethodAction
java.lang.Object
net.bytebuddy.utility.privilege.GetMethodAction
- All Implemented Interfaces:
PrivilegedAction<Method>
Resolves a public method for a given type or returns
null
if the type or method are not available or
if a resolution is not possible.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetMethodAction
(String type, String name, Class<?>... parameter) Creates a new privileged action for resolving aMethod
. -
Method Summary
-
Field Details
-
type
The name of the type. -
name
The name of the method. -
parameter
The parameter types of the method.
-
-
Constructor Details
-
GetMethodAction
Creates a new privileged action for resolving aMethod
.- Parameters:
type
- The name of the type.name
- The name of the method.parameter
- The parameter types of the method.
-
-
Method Details
-
run
- Specified by:
run
in interfacePrivilegedAction<Method>
-