Package net.bytebuddy.implementation
Interface InvokeDynamic.InvocationProvider.ReturnTypeProvider
- All Known Implementing Classes:
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType
,InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
- Enclosing interface:
- InvokeDynamic.InvocationProvider
public static interface InvokeDynamic.InvocationProvider.ReturnTypeProvider
Provides the return type that is requested from the bootstrap method.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Requests an explicit return type.static enum
Requests the return type of the intercepted method. -
Method Summary
Modifier and TypeMethodDescriptionresolve
(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.
-
Method Details
-
resolve
Resolves the return type that is requested from the bootstrap method.- Parameters:
methodDescription
- The intercepted method.- Returns:
- The return type that is requested from the bootstrap method.
-