Enum MemberSubstitution.TypePoolResolver.OfImplicitPool

java.lang.Object
java.lang.Enum<MemberSubstitution.TypePoolResolver.OfImplicitPool>
net.bytebuddy.asm.MemberSubstitution.TypePoolResolver.OfImplicitPool
All Implemented Interfaces:
Serializable, Comparable<MemberSubstitution.TypePoolResolver.OfImplicitPool>, java.lang.constant.Constable, MemberSubstitution.TypePoolResolver
Enclosing interface:
MemberSubstitution.TypePoolResolver

public static enum MemberSubstitution.TypePoolResolver.OfImplicitPool extends Enum<MemberSubstitution.TypePoolResolver.OfImplicitPool> implements MemberSubstitution.TypePoolResolver
Returns the implicit type pool.
  • Enum Constant Details

  • Constructor Details

    • OfImplicitPool

      private OfImplicitPool()
  • 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 TypePool resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
      Resolves a type pool to use for locating substituted members.
      Specified by:
      resolve in interface MemberSubstitution.TypePoolResolver
      Parameters:
      instrumentedType - The instrumented type.
      instrumentedMethod - The instrumented method.
      typePool - The type pool implicit to the instrumentation.
      Returns:
      The type pool to use.