public static enum InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod extends Enum<InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod> implements InvokeDynamic.InvocationProvider.ReturnTypeProvider
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType, InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
resolve(MethodDescription methodDescription)
Resolves the return type that is requested from the bootstrap method.
|
String |
toString() |
static InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod INSTANCE
public static InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod[] values()
for (InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod c : InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod.values()) System.out.println(c);
public static InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic TypeDescription resolve(MethodDescription methodDescription)
InvokeDynamic.InvocationProvider.ReturnTypeProviderresolve in interface InvokeDynamic.InvocationProvider.ReturnTypeProvidermethodDescription - The intercepted method.public String toString()
toString in class Enum<InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod>Copyright © 2014–2016. All rights reserved.