soot.jimple.internal
Class AbstractNewMultiArrayExpr
java.lang.Object
|
+--soot.jimple.internal.AbstractNewMultiArrayExpr
- All Implemented Interfaces:
- ConvertToBaf, EquivTo, Expr, NewMultiArrayExpr, Switchable, ToBriefString, Value
- Direct Known Subclasses:
- GNewMultiArrayExpr, JNewMultiArrayExpr
- public abstract class AbstractNewMultiArrayExpr
- extends java.lang.Object
- implements NewMultiArrayExpr, ConvertToBaf
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sizeBoxes
protected ValueBox[] sizeBoxes
AbstractNewMultiArrayExpr
protected AbstractNewMultiArrayExpr(ArrayType type,
ValueBox[] sizeBoxes)
clone
public abstract java.lang.Object clone()
- Description copied from interface:
Value
- Returns a clone of this Value.
- Specified by:
clone
in interface Value
- Overrides:
clone
in class java.lang.Object
equivTo
public boolean equivTo(java.lang.Object o)
- Description copied from interface:
EquivTo
- Returns true if this object is equivalent to o.
- Specified by:
equivTo
in interface EquivTo
equivHashCode
public int equivHashCode()
- Returns a hash code for this object, consistent with structural equality.
- Specified by:
equivHashCode
in interface EquivTo
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toBriefString
public java.lang.String toBriefString()
- Description copied from interface:
ToBriefString
- Returns a brief description of this object.
- Specified by:
toBriefString
in interface ToBriefString
getBaseType
public ArrayType getBaseType()
- Specified by:
getBaseType
in interface NewMultiArrayExpr
setBaseType
public void setBaseType(ArrayType baseType)
- Specified by:
setBaseType
in interface NewMultiArrayExpr
getSizeBox
public ValueBox getSizeBox(int index)
- Specified by:
getSizeBox
in interface NewMultiArrayExpr
getSizeCount
public int getSizeCount()
- Specified by:
getSizeCount
in interface NewMultiArrayExpr
getSize
public Value getSize(int index)
- Specified by:
getSize
in interface NewMultiArrayExpr
getSizes
public java.util.List getSizes()
- Specified by:
getSizes
in interface NewMultiArrayExpr
setSize
public void setSize(int index,
Value size)
- Specified by:
setSize
in interface NewMultiArrayExpr
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 NewMultiArrayExpr
getType
public Type getType()
- Description copied from interface:
Value
- Returns the Soot type of this Value.
- Specified by:
getType
in interface NewMultiArrayExpr
apply
public void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Specified by:
apply
in interface NewMultiArrayExpr
convertToBaf
public void convertToBaf(JimpleToBafContext context,
java.util.List out)
- Specified by:
convertToBaf
in interface ConvertToBaf