Package net.bytebuddy.asm
Enum Class 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>
,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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.asm.MemberSubstitution.TypePoolResolver
MemberSubstitution.TypePoolResolver.ForClassFileLocator, MemberSubstitution.TypePoolResolver.ForExplicitPool, MemberSubstitution.TypePoolResolver.OfImplicitPool
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
OfImplicitPool
private OfImplicitPool()
-
-
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 nameNullPointerException
- 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 interfaceMemberSubstitution.TypePoolResolver
- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool implicit to the instrumentation.- Returns:
- The type pool to use.
-