K
- parent typepublic interface ValueResolver<K extends CharSequence>
TypeConverter
Modifier and Type | Method and Description |
---|---|
default <T> Optional<T> |
get(K name,
Argument<T> requiredType)
Resolve the given property for the given name.
|
<T> Optional<T> |
get(K name,
ArgumentConversionContext<T> conversionContext)
Resolve the given property for the given name.
|
default <T> Optional<T> |
get(K name,
Class<T> requiredType)
Resolve the given property for the given name.
|
default <T> T |
get(K name,
Class<T> requiredType,
T defaultValue)
Resolve the given property for the given name.
|
<T> Optional<T> get(K name, ArgumentConversionContext<T> conversionContext)
T
- The concrete typename
- The nameconversionContext
- The conversion contextdefault <T> Optional<T> get(K name, Class<T> requiredType)
T
- The concrete typename
- The namerequiredType
- The required typedefault <T> Optional<T> get(K name, Argument<T> requiredType)
T
- The concrete typename
- The namerequiredType
- The required typedefault <T> T get(K name, Class<T> requiredType, T defaultValue)
T
- The concrete typename
- The namerequiredType
- The required typedefaultValue
- The default value