Interface ArgumentValue<V>
- Type Parameters:
V- The generic value
- All Superinterfaces:
AnnotatedElement, AnnotationMetadataProvider, AnnotationSource, Argument<V>, Named, Type, TypeInformation<V>, TypeVariableResolver
- All Known Subinterfaces:
MutableArgumentValue<V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypeInformation
TypeInformation.TypeFormat -
Field Summary
Fields inherited from interface AnnotationSource
EMPTYFields inherited from interface Argument
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LIST_OF_STRING, LONG, OBJECT_ARGUMENT, SHORT, STRING, VOID, VOID_OBJECT, ZERO_ARGUMENTS -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ArgumentValue<@Nullable T> Create a newArgumentValuefor the givenArgumentand value.@Nullable VgetValue()Methods inherited from interface AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullableMethods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface Argument
equalsType, getName, isAssignableFrom, isAssignableFrom, isInstance, isTypeVariable, typeHashCode, withAnnotationMetadata, withNameMethods inherited from interface TypeInformation
asParameterizedType, asType, getBeanTypeString, getSimpleName, getType, getTypeName, getTypeString, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, isReactive, isSpecifiedSingle, isVoid, isWrapperTypeMethods inherited from interface TypeVariableResolver
getFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariables
-
Method Details
-
getValue
@Nullable V getValue()- Returns:
- The current value of the argument
-
create
Create a newArgumentValuefor the givenArgumentand value.- Type Parameters:
T- The value type- Parameters:
argument- The argumentvalue- The value- Returns:
- The created instance
-