Enum Class MethodDelegationBinder.MethodInvoker.Simple

java.lang.Object
java.lang.Enum<MethodDelegationBinder.MethodInvoker.Simple>
net.bytebuddy.implementation.bind.MethodDelegationBinder.MethodInvoker.Simple
All Implemented Interfaces:
Serializable, Comparable<MethodDelegationBinder.MethodInvoker.Simple>, Constable, MethodDelegationBinder.MethodInvoker
Enclosing interface:
MethodDelegationBinder.MethodInvoker

public static enum MethodDelegationBinder.MethodInvoker.Simple extends Enum<MethodDelegationBinder.MethodInvoker.Simple> implements MethodDelegationBinder.MethodInvoker
A simple method invocation that merely uses the most general form of method invocation as provided by MethodInvocation.
  • Enum Constant Details

  • Constructor Details

    • Simple

      private Simple()
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • invoke

      public StackManipulation invoke(MethodDescription methodDescription)
      Creates a method invocation for a given method.
      Specified by:
      invoke in interface MethodDelegationBinder.MethodInvoker
      Parameters:
      methodDescription - The method to be invoked.
      Returns:
      A stack manipulation encapsulating this method invocation.