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 Classes Modifier and Type Interface Description static class
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType
Requests an explicit return type.static class
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
Requests the return type of the intercepted method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeDescription
resolve(MethodDescription methodDescription)
Resolves the return type that is requested from the bootstrap method.
-
-
-
Method Detail
-
resolve
TypeDescription resolve(MethodDescription methodDescription)
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.
-
-