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