ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
array |
private int |
index |
private TypeConverter |
typeConverter |
private TypeDescriptor |
typeDescriptor |
Constructor and Description |
---|
ArrayIndexingValueRef(TypeConverter typeConverter,
java.lang.Object array,
int index,
TypeDescriptor typeDescriptor) |
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 TypeConverter typeConverter
private final java.lang.Object array
private final int index
private final TypeDescriptor typeDescriptor
ArrayIndexingValueRef(TypeConverter typeConverter, java.lang.Object array, int index, TypeDescriptor typeDescriptor)
public TypedValue getValue()
ValueRef
public void setValue(@Nullable java.lang.Object newValue)
ValueRef
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef