@HashCodeAndEqualsPlugin.Enhance public static class InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType extends Object implements InvokeDynamic.InvocationProvider.ReturnTypeProvider
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType, InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
Modifier | Constructor and Description |
---|---|
protected |
ForExplicitType(TypeDescription typeDescription)
Creates a new return type provider for an explicit return type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
resolve(MethodDescription methodDescription)
Resolves the return type that is requested from the bootstrap method.
|
protected ForExplicitType(TypeDescription typeDescription)
typeDescription
- The requested return type.public TypeDescription resolve(MethodDescription methodDescription)
resolve
in interface InvokeDynamic.InvocationProvider.ReturnTypeProvider
methodDescription
- The intercepted method.Copyright © 2014–2020. All rights reserved.