Enum DefaultMethod.Binder.MethodLocator.ForImplicitType
java.lang.Object
java.lang.Enum<DefaultMethod.Binder.MethodLocator.ForImplicitType>
net.bytebuddy.implementation.bind.annotation.DefaultMethod.Binder.MethodLocator.ForImplicitType
- All Implemented Interfaces:
Serializable
,Comparable<DefaultMethod.Binder.MethodLocator.ForImplicitType>
,java.lang.constant.Constable
,DefaultMethod.Binder.MethodLocator
- Enclosing interface:
DefaultMethod.Binder.MethodLocator
public static enum DefaultMethod.Binder.MethodLocator.ForImplicitType
extends Enum<DefaultMethod.Binder.MethodLocator.ForImplicitType>
implements DefaultMethod.Binder.MethodLocator
A method locator for an implicit target type.
-
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.implementation.bind.annotation.DefaultMethod.Binder.MethodLocator
DefaultMethod.Binder.MethodLocator.ForExplicitType, DefaultMethod.Binder.MethodLocator.ForImplicitType
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
ForImplicitType
private ForImplicitType()
-
-
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 nameNullPointerException
- if the argument is null
-
resolve
public Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.- Specified by:
resolve
in interfaceDefaultMethod.Binder.MethodLocator
- Parameters:
implementationTarget
- The implementation target.source
- The method being instrumented.- Returns:
- A special method invocation that represents the super call of this binding.
-