V
- The generic valuepublic interface MutableArgumentValue<V> extends ArgumentValue<V>
ArgumentValue
interface.BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT_ARGUMENT, SHORT, 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
equalsType, getName, getType, getTypeString, hasTypeVariables, isInstance, listOf, mapOf, of, of, of, of, of, of, setOf, toClassArray, toString, typeHashCode
getFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariables
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation
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