private class MethodReference.MethodValueRef extends java.lang.Object implements ValueRef
ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private java.lang.Object[] |
arguments |
private EvaluationContext |
evaluationContext |
private TypeDescriptor |
targetType |
private java.lang.Object |
value |
Constructor and Description |
---|
MethodValueRef(ExpressionState state,
java.lang.Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
TypedValue |
getValue()
Returns the value this ValueRef points to, it should not require expression
component re-evaluation.
|
boolean |
isWritable()
Indicates whether calling setValue(Object) is supported.
|
void |
setValue(java.lang.Object newValue)
Sets the value this ValueRef points to, it should not require expression component
re-evaluation.
|
private final EvaluationContext evaluationContext
@Nullable private final java.lang.Object value
@Nullable private final TypeDescriptor targetType
private final java.lang.Object[] arguments
public MethodValueRef(ExpressionState state, java.lang.Object[] arguments)
public TypedValue getValue()
ValueRef
public void setValue(@Nullable java.lang.Object newValue)
ValueRef
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef