T
- The generic typepublic interface ImmutableArgumentConversionContext<T> extends ArgumentConversionContext<T>
ArgumentConversionContext
that can be used as a constant
in cases where conversion error handling and rejection is not required.BOOLEAN, DEFAULT, INT, LIST_OF_STRING, LONG, MAP, STRING
EMPTY
Modifier and Type | Method and Description |
---|---|
static <T> ImmutableArgumentConversionContext<T> |
of(Argument<T> argument)
Create a new simple
ConversionContext for the given generic type variables. |
static <T> ImmutableArgumentConversionContext<T> |
of(Class<T> type)
Create a simple
ConversionContext for the given generic type variables. |
getAnnotationMetadata, getArgument, getTypeParameters, getTypeVariables, with
getCharset, getLocale, 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
static <T> ImmutableArgumentConversionContext<T> of(Argument<T> argument)
ConversionContext
for the given generic type variables.
NOTE: The instance returned by this method is NOT thread safe and should be shared via static state or between threads.
of
in interface ConversionContext
T
- type Genericargument
- The argumentstatic <T> ImmutableArgumentConversionContext<T> of(Class<T> type)
ConversionContext
for the given generic type variables.
NOTE: The instance returned by this method is NOT thread safe and should be shared via static state or between threads.
of
in interface ConversionContext
T
- type Generictype
- The argument