T
- The typepublic interface ArgumentConversionContext<T> extends ConversionContext, AnnotationMetadataProvider
ConversionContext
specifically for conversion Argument
instances.BOOLEAN, DEFAULT, INT, LIST_OF_STRING, LONG, MAP, STRING
EMPTY
Modifier and Type | Method and Description |
---|---|
default AnnotationMetadata |
getAnnotationMetadata()
Supplies the metadata.
|
Argument<T> |
getArgument() |
default Argument[] |
getTypeParameters() |
default Map<String,Argument<?>> |
getTypeVariables()
In the case where the type to be converted contains generic type arguments this map will return
the concrete types of those arguments.
|
default ArgumentConversionContext<T> |
with(AnnotationMetadata annotationMetadata)
Augment this context with annotation metadata.
|
getCharset, getLocale, of, of, of, of, of, with
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
getFirstTypeVariable, getTypeVariable
getLastError, hasErrors, iterator, reject, reject
forEach, spliterator
default Argument[] getTypeParameters()
getTypeParameters
in interface TypeVariableResolver
default Map<String,Argument<?>> getTypeVariables()
ConversionContext
Map
type two keys will be present
called 'K' and 'V' with the actual types of the key and value.getTypeVariables
in interface ConversionContext
getTypeVariables
in interface TypeVariableResolver
default AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProvider
AnnotationMetadata.EMPTY_METADATA
.getAnnotationMetadata
in interface AnnotationMetadataProvider
AnnotationMetadata
default ArgumentConversionContext<T> with(AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata