Class LongObjectValue
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
de.uzl.its.swat.symbolic.value.reference.ObjectValue<Object,Object>
de.uzl.its.swat.symbolic.value.reference.lang.LongObjectValue
-
Field Summary
Fields inherited from class de.uzl.its.swat.symbolic.value.reference.ObjectValue
address, ADDRESS_UNKNOWN, className -
Constructor Summary
ConstructorsConstructorDescriptionLongObjectValue(org.sosy_lab.java_smt.api.SolverContext context) LongObjectValue(org.sosy_lab.java_smt.api.SolverContext context, LongValue longValue, int address) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares if an arbitrary object is equal to this instanceorg.sosy_lab.java_smt.api.BooleanFormulagetBounds(boolean upper) Gets the bound of the primitive typeValue<?,?> invokeMethod(String name, org.objectweb.asm.Type[] desc, Value<?, ?>[] args) Responsible for invoking the methods present in the java/lang/Long classstatic Value<?,?> invokeStaticMethod(org.sosy_lab.java_smt.api.SolverContext context, String name, Value<?, ?>[] args) MAKE_SYMBOLIC(String namePrefix) toString()Returns the string representation of the value.Methods inherited from class de.uzl.its.swat.symbolic.value.reference.ObjectValue
asArrayValue, asFloatValue, asIntValue, asObjectArrayValue, asObjectValue, getAddress, getConcrete, getField, getFields, getnFields, IF_ACMPEQ, IF_ACMPNE, IFNONNULL, IFNULL, setAddress, setField, setFieldsMethods inherited from class de.uzl.its.swat.symbolic.value.Value
asBooleanValue, asByteValue, asCharValue, asDoubleValue, asLongValue, asNumericalValue, asShortValue, asStringValue, getConcreteEncoded, getName, getType, initSymbolic, initSymbolic, MAKE_SYMBOLIC, reset
-
Constructor Details
-
LongObjectValue
public LongObjectValue(org.sosy_lab.java_smt.api.SolverContext context) -
LongObjectValue
public LongObjectValue(org.sosy_lab.java_smt.api.SolverContext context, LongValue longValue, int address)
-
-
Method Details
-
getLongValue
-
equals
Compares if an arbitrary object is equal to this instance- Overrides:
equalsin classObjectValue<Object,Object> - Parameters:
o- The other object- Returns:
- Returns true if the objects are identical or if the other object is a long and has the same value as this one
-
invokeStaticMethod
public static Value<?,?> invokeStaticMethod(org.sosy_lab.java_smt.api.SolverContext context, String name, Value<?, ?>[] args) - Parameters:
name-args-- Returns:
-
invokeMethod
Responsible for invoking the methods present in the java/lang/Long class- Overrides:
invokeMethodin classObjectValue<Object,Object> - Parameters:
name- The Name of the method that should be invokedargs- The methods arguments (if any)- Returns:
- The resulting Value
-
MAKE_SYMBOLIC
- Overrides:
MAKE_SYMBOLICin classObjectValue<Object,Object>
-
MAKE_SYMBOLIC
- Overrides:
MAKE_SYMBOLICin classObjectValue<Object,Object>
-
getBounds
public org.sosy_lab.java_smt.api.BooleanFormula getBounds(boolean upper) Gets the bound of the primitive type -
toString
Description copied from class:ValueReturns the string representation of the value. Should be implemented by each inheriting class.- Overrides:
toStringin classObjectValue<Object,Object> - Returns:
- the string representation of the value
-