soot
Interface ValueBox

All Superinterfaces:
Host, Serializable
All Known Implementing Classes:
AbstractValueBox, BafLocalBox, ConditionExprBox, DArrayInitValueBox, ExprBox, GRValueBox, IdentityRefBox, ImmediateBox, InvokeExprBox, JimpleLocalBox, ObjExprBox, RValueBox, SValueUnitPair, ValueUnitPair, VariableBox

public interface ValueBox
extends Host, Serializable

A box which can contain values.

See Also:
Value

Method Summary
 boolean canContainValue(Value value)
          Returns true if the given Value fits in this box.
 Value getValue()
          Returns the value contained in this box.
 void setValue(Value value)
          Sets the value contained in this box as given.
 void toString(UnitPrinter up)
           
 
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 

Method Detail

setValue

void setValue(Value value)
Sets the value contained in this box as given. Subject to canContainValue() checks.


getValue

Value getValue()
Returns the value contained in this box.


canContainValue

boolean canContainValue(Value value)
Returns true if the given Value fits in this box.


toString

void toString(UnitPrinter up)