Enum Default.Binder.TypeLocator.ForParameterType

java.lang.Object
java.lang.Enum<Default.Binder.TypeLocator.ForParameterType>
net.bytebuddy.implementation.bind.annotation.Default.Binder.TypeLocator.ForParameterType
All Implemented Interfaces:
Serializable, Comparable<Default.Binder.TypeLocator.ForParameterType>, java.lang.constant.Constable, Default.Binder.TypeLocator
Enclosing interface:
Default.Binder.TypeLocator

public static enum Default.Binder.TypeLocator.ForParameterType extends Enum<Default.Binder.TypeLocator.ForParameterType> implements Default.Binder.TypeLocator
A type locator that yields the target parameter's type.
  • Enum Constant Details

  • Constructor Details

    • ForParameterType

      private ForParameterType()
  • Method Details

    • values

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

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • resolve

      public TypeDescription resolve(TypeDescription.Generic parameterType)
      Resolves the target type.
      Specified by:
      resolve in interface Default.Binder.TypeLocator
      Parameters:
      parameterType - The type of the target parameter.
      Returns:
      The proxy type.