Class ObjectValue<T,K>
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
de.uzl.its.swat.symbolic.value.reference.ObjectValue<T,K>
- Direct Known Subclasses:
AbstractArrayValue
,CharacterObjectValue
,DoubleObjectValue
,EnumerationValue
,FloatObjectValue
,IntegerObjectValue
,LambdaObjectValue
,ListValue
,LongObjectValue
,ObjectArrayValue
,StringBuilderValue
,StringValue
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
static final int
-
Constructor Summary
ConstructorDescriptionObjectValue
(org.sosy_lab.java_smt.api.SolverContext context, int unused, int v) ObjectValue
(org.sosy_lab.java_smt.api.SolverContext context, String className, IntValue nFields) -
Method Summary
Modifier and TypeMethodDescriptionAbstractArrayValue<?,
?, ?, ?, ?> ObjectValue<?,
?> boolean
int
Value<?,
?> getField
(int fieldId) Value<?,
?>[] org.sosy_lab.java_smt.api.BooleanFormula
IF_ACMPEQ
(ObjectValue o2) Compares if two references are identicalorg.sosy_lab.java_smt.api.BooleanFormula
IF_ACMPNE
(ObjectValue o2) Compares if two references are not identicalorg.sosy_lab.java_smt.api.BooleanFormula
Compares if this reference is not the null value NULL is represented by the address 0org.sosy_lab.java_smt.api.BooleanFormula
IFNULL()
Compares if this reference is the null value; NULL is represented by the address 0Value<?,
?> invokeMethod
(String name, org.objectweb.asm.Type[] desc, Value<?, ?>[] args) MAKE_SYMBOLIC
(String namePrefix) void
setAddress
(int address) void
void
toString()
Returns the string representation of the value.Methods inherited from class de.uzl.its.swat.symbolic.value.Value
asBooleanValue, asByteValue, asCharValue, asDoubleValue, asLongValue, asNumericalValue, asShortValue, asStringValue, getBounds, getConcreteEncoded, getName, getType, initSymbolic, initSymbolic, MAKE_SYMBOLIC, reset
-
Field Details
-
ADDRESS_UNKNOWN
public static final int ADDRESS_UNKNOWN- See Also:
-
className
-
address
protected int address
-
-
Constructor Details
-
ObjectValue
public ObjectValue(org.sosy_lab.java_smt.api.SolverContext context, int unused, int v) -
ObjectValue
-
-
Method Details
-
setFields
-
getFields
-
MAKE_SYMBOLIC
- Overrides:
MAKE_SYMBOLIC
in classValue<T,
K>
-
MAKE_SYMBOLIC
- Overrides:
MAKE_SYMBOLIC
in classValue<T,
K>
-
equals
-
getnFields
-
getAddress
public int getAddress() -
getConcrete
- Overrides:
getConcrete
in classValue<T,
K>
-
IF_ACMPEQ
Compares if two references are identical- Parameters:
o2
- The other object- Returns:
- A BooleanValue representing the result
-
IF_ACMPNE
Compares if two references are not identical- Parameters:
o2
- The other object- Returns:
- A BooleanFormula representing the result
-
IFNULL
public org.sosy_lab.java_smt.api.BooleanFormula IFNULL()Compares if this reference is the null value; NULL is represented by the address 0- Returns:
- A BooleanFormula representing the result
-
IFNONNULL
public org.sosy_lab.java_smt.api.BooleanFormula IFNONNULL()Compares if this reference is not the null value NULL is represented by the address 0- Returns:
- A BooleanFormula representing the result
-
getField
-
setField
-
setAddress
public void setAddress(int address) -
invokeMethod
-
asObjectValue
- Overrides:
asObjectValue
in classValue<T,
K>
-
asFloatValue
- Overrides:
asFloatValue
in classValue<T,
K>
-
asArrayValue
-
asObjectArrayValue
-
asIntValue
- Overrides:
asIntValue
in classValue<T,
K>
-
toString
Description copied from class:Value
Returns the string representation of the value. Should be implemented by each inheriting class.
-