soot
Class AbstractValueBox
java.lang.Object
soot.tagkit.AbstractHost
soot.AbstractValueBox
- All Implemented Interfaces:
- Serializable, Host, ValueBox
- Direct Known Subclasses:
- BafLocalBox, ConditionExprBox, DArrayInitValueBox, ExprBox, GRValueBox, IdentityRefBox, ImmediateBox, InvokeExprBox, JimpleLocalBox, RValueBox, ValueUnitPair, VariableBox
public abstract class AbstractValueBox
- extends AbstractHost
- implements ValueBox
Reference implementation for ValueBox; just
add a canContainValue method.
- See Also:
- Serialized Form
AbstractValueBox
public AbstractValueBox()
setValue
public void setValue(Value value)
- Description copied from interface:
ValueBox
- Sets the value contained in this box as given. Subject to canContainValue() checks.
- Specified by:
setValue
in interface ValueBox
getValue
public Value getValue()
- Description copied from interface:
ValueBox
- Returns the value contained in this box.
- Specified by:
getValue
in interface ValueBox
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface ValueBox
toString
public String toString()
- Overrides:
toString
in class Object