Package net.bytebuddy.implementation
Enum Class InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
java.lang.Object
java.lang.Enum<InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod>
net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
- All Implemented Interfaces:
Serializable
,Comparable<InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod>
,Constable
,InvokeDynamic.InvocationProvider.ReturnTypeProvider
- Enclosing interface:
InvokeDynamic.InvocationProvider.ReturnTypeProvider
public static enum InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
extends Enum<InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod>
implements InvokeDynamic.InvocationProvider.ReturnTypeProvider
Requests the return type of the intercepted method.
-
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.InvokeDynamic.InvocationProvider.ReturnTypeProvider
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType, InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.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
public static final InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod INSTANCEThe singleton instance.
-
-
Constructor Details
-
ForInterceptedMethod
private ForInterceptedMethod()
-
-
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
public static InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod valueOf(String name) 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
Resolves the return type that is requested from the bootstrap method.- Specified by:
resolve
in interfaceInvokeDynamic.InvocationProvider.ReturnTypeProvider
- Parameters:
methodDescription
- The intercepted method.- Returns:
- The return type that is requested from the bootstrap method.
-