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, 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
asParameterizedType, equalsType, getName, getType, getTypeName, getTypeString, hasTypeVariables, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isInstance, isOptional, isReactive, isVoid, listOf, listOf, mapOf, mapOf, of, of, of, of, of, of, of, setOf, setOf, toClassArray, toString, typeHashCode
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
void setValue(V value)
value
- The valuejava.lang.IllegalArgumentException
- 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