Class GetMethodAction

java.lang.Object
net.bytebuddy.utility.privilege.GetMethodAction
All Implemented Interfaces:
PrivilegedAction<Method>

@Enhance public class GetMethodAction extends Object implements 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 Details

    • type

      private final String type
      The name of the type.
    • name

      private final String name
      The name of the method.
    • parameter

      private final Class<?>[] parameter
      The parameter types of the method.
  • Constructor Details

    • GetMethodAction

      public GetMethodAction(String type, String name, Class<?>... parameter)
      Creates a new privileged action for resolving a Method.
      Parameters:
      type - The name of the type.
      name - The name of the method.
      parameter - The parameter types of the method.
  • Method Details