Interface InvokeDynamic.InvocationProvider.NameProvider
- All Known Implementing Classes:
InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName, InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod
- Enclosing interface:
InvokeDynamic.InvocationProvider
public static interface InvokeDynamic.InvocationProvider.NameProvider
Provides the name of the method that is to be bound by a dynamic method call.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA name provider that provides an explicit name.static enumA name provider that provides the name of the intercepted method. -
Method Summary
Modifier and TypeMethodDescriptionresolve(MethodDescription methodDescription) Resolves the name given the intercepted method.
-
Method Details
-
resolve
Resolves the name given the intercepted method.- Parameters:
methodDescription- The intercepted method.- Returns:
- The name of the method to be bound by the bootstrap method.
-