soot.jimple.internal
Class AbstractInvokeExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractInvokeExpr
All Implemented Interfaces:
Serializable, EquivTo, Expr, InvokeExpr, Switchable, Value
Direct Known Subclasses:
AbstractInstanceInvokeExpr, AbstractStaticInvokeExpr, GDynamicInvokeExpr, GNewInvokeExpr, JDynamicInvokeExpr

public abstract class AbstractInvokeExpr
extends Object
implements InvokeExpr

See Also:
Serialized Form

Field Summary
protected  ValueBox[] argBoxes
           
protected  SootMethodRef methodRef
           
 
Constructor Summary
AbstractInvokeExpr()
           
 
Method Summary
abstract  Object clone()
          Returns a clone of this Value.
 Value getArg(int index)
           
 ValueBox getArgBox(int index)
           
 int getArgCount()
           
 List getArgs()
           
 SootMethod getMethod()
           
 SootMethodRef getMethodRef()
           
 Type getType()
          Returns the Soot type of this Value.
 void setArg(int index, Value arg)
           
 void setMethodRef(SootMethodRef methodRef)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface soot.Value
getUseBoxes, toString
 
Methods inherited from interface soot.util.Switchable
apply
 
Methods inherited from interface soot.EquivTo
equivHashCode, equivTo
 

Field Detail

methodRef

protected SootMethodRef methodRef

argBoxes

protected ValueBox[] argBoxes
Constructor Detail

AbstractInvokeExpr

public AbstractInvokeExpr()
Method Detail

setMethodRef

public void setMethodRef(SootMethodRef methodRef)
Specified by:
setMethodRef in interface InvokeExpr

getMethodRef

public SootMethodRef getMethodRef()
Specified by:
getMethodRef in interface InvokeExpr

getMethod

public SootMethod getMethod()
Specified by:
getMethod in interface InvokeExpr

clone

public abstract Object clone()
Description copied from interface: Value
Returns a clone of this Value.

Specified by:
clone in interface Value
Overrides:
clone in class Object

getArg

public Value getArg(int index)
Specified by:
getArg in interface InvokeExpr

getArgs

public List getArgs()
Specified by:
getArgs in interface InvokeExpr

getArgCount

public int getArgCount()
Specified by:
getArgCount in interface InvokeExpr

setArg

public void setArg(int index,
                   Value arg)
Specified by:
setArg in interface InvokeExpr

getArgBox

public ValueBox getArgBox(int index)
Specified by:
getArgBox in interface InvokeExpr

getType

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

Specified by:
getType in interface InvokeExpr
Specified by:
getType in interface Value