soot.jimple
Interface ArrayRef

All Superinterfaces:
ConcreteRef, EquivTo, Ref, java.io.Serializable, Switchable, ToBriefString, Value
All Known Implementing Classes:
GArrayRef, JArrayRef

public interface ArrayRef
extends ConcreteRef, Switchable, ToBriefString


Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 Value getBase()
           
 ValueBox getBaseBox()
           
 Value getIndex()
           
 ValueBox getIndexBox()
           
 Type getType()
          Returns the Soot type of this Value.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setBase(Local base)
           
 void setIndex(Value index)
           
 
Methods inherited from interface soot.Value
clone
 
Methods inherited from interface soot.EquivTo
equivHashCode, equivTo
 
Methods inherited from interface soot.ToBriefString
toBriefString
 

Method Detail

getBase

public Value getBase()

setBase

public void setBase(Local base)

getBaseBox

public ValueBox getBaseBox()

getIndex

public Value getIndex()

setIndex

public void setIndex(Value index)

getIndexBox

public ValueBox getIndexBox()

getUseBoxes

public java.util.List getUseBoxes()
Description copied from interface: Value
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.

Specified by:
getUseBoxes in interface Value

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

Specified by:
getType in interface Value

apply

public void apply(Switch sw)
Description copied from interface: Switchable
Called when this object is visited.

Specified by:
apply in interface Switchable