public interface SettableValue extends Value
on the other hand ConcreteValues, UndefinedValues, NewExpr etc are examples for Values that are not Settable
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(ProgramState programState,
ConcreteValue concreteRHS)
Sets a value to a given value that is evaluated in a given programState.
|
evaluateOn, getPotentialViolationPoints, getType, needsMaterializationvoid setValue(ProgramState programState, ConcreteValue concreteRHS) throws NullPointerDereferenceException
programState - The programState used to evaluate the given value.concreteRHS - The value this value should be set to.NullPointerDereferenceException - if the evaluation of originValue
results in a null pointer dereference.Copyright © 2019. All rights reserved.