Package soot.jimple.internal
Class AbstractInvokeExpr
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected ValueBox[]argBoxesprotected SootMethodRefmethodRef
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractInvokeExpr(SootMethodRef methodRef, ValueBox[] argBoxes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Objectclone()Returns a clone of this Value.ValuegetArg(int index)ValueBoxgetArgBox(int index)intgetArgCount()List<Value>getArgs()SootMethodgetMethod()ResolvesSootMethodReftoSootMethod.SootMethodRefgetMethodRef()TypegetType()Returns the Soot type of this Value.List<ValueBox>getUseBoxes()Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.voidsetArg(int index, Value arg)voidsetMethodRef(SootMethodRef methodRef)-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface soot.EquivTo
equivHashCode, equivTo
-
Methods inherited from interface soot.util.Switchable
apply
-
-
-
-
Field Detail
-
methodRef
protected SootMethodRef methodRef
-
argBoxes
protected final ValueBox[] argBoxes
-
-
Constructor Detail
-
AbstractInvokeExpr
protected AbstractInvokeExpr(SootMethodRef methodRef, ValueBox[] argBoxes)
-
-
Method Detail
-
setMethodRef
public void setMethodRef(SootMethodRef methodRef)
- Specified by:
setMethodRefin interfaceInvokeExpr
-
getMethodRef
public SootMethodRef getMethodRef()
- Specified by:
getMethodRefin interfaceInvokeExpr
-
getMethod
public SootMethod getMethod()
Description copied from interface:InvokeExprResolvesSootMethodReftoSootMethod.- Specified by:
getMethodin interfaceInvokeExpr- Returns:
SootMethodinstance, ornullwhen reference cannot be resolved andOptions.ignore_resolution_errorsistrue
-
clone
public abstract Object clone()
Description copied from interface:ValueReturns a clone of this Value.
-
getArg
public Value getArg(int index)
- Specified by:
getArgin interfaceInvokeExpr
-
getArgs
public List<Value> getArgs()
- Specified by:
getArgsin interfaceInvokeExpr
-
getArgCount
public int getArgCount()
- Specified by:
getArgCountin interfaceInvokeExpr
-
setArg
public void setArg(int index, Value arg)- Specified by:
setArgin interfaceInvokeExpr
-
getArgBox
public ValueBox getArgBox(int index)
- Specified by:
getArgBoxin interfaceInvokeExpr
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from interface:ValueReturns a List of boxes corresponding to Values which are used by (ie contained within) this Value.- Specified by:
getUseBoxesin interfaceValue
-
-