T - The actual argument type of an exposed methodS - The substitute type as which the argument values are to be deserializedpublic interface InputConverter<T,S>
| Modifier and Type | Method and Description |
|---|---|
T |
convertInput(S substitute,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
The returned type has to erase to
Class<S> |
boolean |
supports(AnnotatedType type) |
T convertInput(S substitute, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
boolean supports(AnnotatedType type)
AnnotatedType getSubstituteType(AnnotatedType original)
Class<S>original - The original type of the input valueCopyright © 2016–2017. All rights reserved.