public abstract class AbstractInvokeExpr extends java.lang.Object implements InvokeExpr
Modifier and Type | Field and Description |
---|---|
protected ValueBox[] |
argBoxes |
protected SootMethodRef |
methodRef |
Modifier | Constructor and Description |
---|---|
protected |
AbstractInvokeExpr(SootMethodRef methodRef,
ValueBox[] argBoxes) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
clone()
Returns a clone of this Value.
|
Value |
getArg(int index) |
ValueBox |
getArgBox(int index) |
int |
getArgCount() |
java.util.List<Value> |
getArgs() |
SootMethod |
getMethod()
Resolves
SootMethodRef to SootMethod . |
SootMethodRef |
getMethodRef() |
Type |
getType()
Returns the Soot type of this Value.
|
java.util.List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
void |
setArg(int index,
Value arg) |
void |
setMethodRef(SootMethodRef methodRef) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
equivHashCode, equivTo
protected SootMethodRef methodRef
protected final ValueBox[] argBoxes
protected AbstractInvokeExpr(SootMethodRef methodRef, ValueBox[] argBoxes)
public void setMethodRef(SootMethodRef methodRef)
setMethodRef
in interface InvokeExpr
public SootMethodRef getMethodRef()
getMethodRef
in interface InvokeExpr
public SootMethod getMethod()
InvokeExpr
SootMethodRef
to SootMethod
.getMethod
in interface InvokeExpr
SootMethod
instance, or null
when reference cannot be resolved and
soot.options.Options#ignore_resolution_errors
is true
public abstract java.lang.Object clone()
Value
public Value getArg(int index)
getArg
in interface InvokeExpr
public java.util.List<Value> getArgs()
getArgs
in interface InvokeExpr
public int getArgCount()
getArgCount
in interface InvokeExpr
public void setArg(int index, Value arg)
setArg
in interface InvokeExpr
public ValueBox getArgBox(int index)
getArgBox
in interface InvokeExpr
public Type getType()
Value
public java.util.List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value