Class ObjectArrayValue
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
 
de.uzl.its.swat.symbolic.value.reference.ObjectValue
de.uzl.its.swat.symbolic.value.reference.array.ObjectArrayValue
Wrapper for arrays of references (non-primitive types)
- 
Field SummaryFieldsFields inherited from class de.uzl.its.swat.symbolic.value.reference.ObjectValueaddress, ADDRESS_UNKNOWN, className
- 
Constructor SummaryConstructorsConstructorDescriptionObjectArrayValue(org.sosy_lab.java_smt.api.SolverContext context, String className, IntValue size) Creates an Array of references To create multidimensional arrays, this class is nested
- 
Method SummaryModifier and TypeMethodDescriptionCast replacementorg.sosy_lab.java_smt.api.BooleanFormulacheckIndex(IntValue idx) Value<?,?> getElement(IntValue idx) Retrieves a reference from an Array ToDo (Nils): The index and value are currently not tracked symbolically See: Issue 59getSize()Getter for the concrete size of the arrayvoidstoreElement(IntValue idx, Value<?, ?> ref) Stores a reference value in an array at index idx ToDo (Nils): The index and value are currently not tracked symbolically See: Issue 59toString()Returns the string representation of the value.Methods inherited from class de.uzl.its.swat.symbolic.value.reference.ObjectValueasArrayValue, asFloatValue, asIntValue, asObjectValue, equals, getAddress, getConcrete, getField, getFields, getnFields, IF_ACMPEQ, IF_ACMPNE, IFNONNULL, IFNULL, invokeMethod, MAKE_SYMBOLIC, MAKE_SYMBOLIC, setAddress, setField, setFieldsMethods inherited from class de.uzl.its.swat.symbolic.value.ValueasBooleanValue, asByteValue, asCharValue, asDoubleValue, asLongValue, asNumericalValue, asShortValue, asStringValue, getBounds, getConcreteEncoded, getName, getType, initSymbolic, initSymbolic, MAKE_SYMBOLIC, reset
- 
Field Details- 
sizeSize of the array
 
- 
- 
Constructor Details- 
ObjectArrayValuepublic ObjectArrayValue(org.sosy_lab.java_smt.api.SolverContext context, String className, IntValue size) Creates an Array of references To create multidimensional arrays, this class is nested- Parameters:
- className- The type of the reference
- size- The size of the array (this dimension)
 
 
- 
- 
Method Details- 
checkIndex
- 
getElementRetrieves a reference from an Array ToDo (Nils): The index and value are currently not tracked symbolically See: Issue 59- Parameters:
- idx- The index of the position to retrieve
- Returns:
- The reference value at position idx
 
- 
storeElementStores a reference value in an array at index idx ToDo (Nils): The index and value are currently not tracked symbolically See: Issue 59- Parameters:
- idx- The index where to store the Value
- ref- The value to be stored
 
- 
asObjectArrayValueCast replacement- Overrides:
- asObjectArrayValuein class- ObjectValue
- Returns:
- ObjectArrayValue this
 
- 
getSizeGetter for the concrete size of the array- Returns:
- The concrete size of the array
 
- 
toStringDescription copied from class:ValueReturns the string representation of the value. Should be implemented by each inheriting class.- Overrides:
- toStringin class- ObjectValue
- Returns:
- the string representation of the value
 
 
-