V
- The generic valuepublic interface MutableArgumentValue<V> extends ArgumentValue<V>
ArgumentValue
interface.BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LIST_OF_STRING, LONG, OBJECT_ARGUMENT, SHORT, STRING, VOID, VOID_OBJECT, ZERO_ARGUMENTS
EMPTY
Modifier and Type | Method and Description |
---|---|
static <T> MutableArgumentValue<T> |
create(Argument<T> argument,
T value)
Create a new
MutableArgumentValue for the given Argument and value. |
void |
setValue(V value)
Sets the argument value.
|
getValue
equalsType, getName, isAssignableFrom, isAssignableFrom, isInstance, isTypeVariable, listOf, listOf, mapOf, mapOf, of, of, of, of, of, of, of, of, of, ofTypeVariable, ofTypeVariable, ofTypeVariable, ofTypeVariable, setOf, setOf, toClassArray, toString, typeHashCode
asParameterizedType, asType, getSimpleName, getType, getTypeName, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, isReactive, isSpecifiedSingle, isVoid, isWrapperType
getFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariables
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
void setValue(V value)
value
- The valueIllegalArgumentException
- If the argument is not a compatible argumentstatic <T> MutableArgumentValue<T> create(Argument<T> argument, T value)
MutableArgumentValue
for the given Argument
and value.create
in interface ArgumentValue<V>
T
- The value typeargument
- The argumentvalue
- The value