Class StringBuilderValue
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.StringBuilderValue
-
Field Summary
Fields inherited from class de.uzl.its.swat.symbolic.value.reference.ObjectValue
address, ADDRESS_UNKNOWN, className
-
Constructor Summary
ConstructorDescriptionStringBuilderValue
(org.sosy_lab.java_smt.api.SolverContext context) StringBuilderValue
(org.sosy_lab.java_smt.api.SolverContext context, StringValue v, int address) -
Method Summary
Modifier and TypeMethodDescriptionValue<?,
?> Value<?,
?> invokeMethod
(String name, org.objectweb.asm.Type[] desc, Value<?, ?>[] args) Handles method invocation for Java's StringBuilder (Java 16) as defined in: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, equals, getAddress, getConcrete, getField, getFields, getnFields, IF_ACMPEQ, IF_ACMPNE, IFNONNULL, IFNULL, MAKE_SYMBOLIC, MAKE_SYMBOLIC, setAddress, setField, setFields
Methods inherited from class de.uzl.its.swat.symbolic.value.Value
asBooleanValue, asByteValue, asCharValue, asDoubleValue, asLongValue, asNumericalValue, asShortValue, getBounds, getConcreteEncoded, getName, getType, initSymbolic, initSymbolic, MAKE_SYMBOLIC, reset
-
Constructor Details
-
StringBuilderValue
public StringBuilderValue(org.sosy_lab.java_smt.api.SolverContext context) -
StringBuilderValue
public StringBuilderValue(org.sosy_lab.java_smt.api.SolverContext context, StringValue v, int address)
-
-
Method Details
-
getStringValue
-
invokeMethod
Handles method invocation for Java's StringBuilder (Java 16) as defined in:- Overrides:
invokeMethod
in classObjectValue<Object,
Object> - Parameters:
name
- The name of the method that is calleddesc
- The Type descriptions for all Argumentsargs
- The Value's representing the arguments- Returns:
- The return Value of the Method, or a PlaceHolder::instance if the Method is not implemented or void should be returned
-
asStringValue
- Overrides:
asStringValue
in classValue<Object,
Object>
-
toString
Description copied from class:Value
Returns the string representation of the value. Should be implemented by each inheriting class.- Overrides:
toString
in classObjectValue<Object,
Object> - Returns:
- the string representation of the value
-