public static enum InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod extends Enum<InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod> implements InvokeDynamic.InvocationProvider.NameProvider
InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName, InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(MethodDescription methodDescription)
Resolves the name given the intercepted method.
|
static InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod INSTANCE
public static InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod[] values()
for (InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod c : InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod.values()) System.out.println(c);
public static InvokeDynamic.InvocationProvider.NameProvider.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 String resolve(MethodDescription methodDescription)
resolve in interface InvokeDynamic.InvocationProvider.NameProvidermethodDescription - The intercepted method.Copyright © 2014–2023. All rights reserved.