Package soot.jimple
Interface InvokeExpr
-
- All Superinterfaces:
EquivTo,Expr,Serializable,Switchable,Value
- All Known Subinterfaces:
DynamicInvokeExpr,InstanceInvokeExpr,InterfaceInvokeExpr,NewInvokeExpr,SpecialInvokeExpr,StaticInvokeExpr,VirtualInvokeExpr
- All Known Implementing Classes:
AbstractInstanceInvokeExpr,AbstractInterfaceInvokeExpr,AbstractInvokeExpr,AbstractSpecialInvokeExpr,AbstractStaticInvokeExpr,AbstractVirtualInvokeExpr,DInterfaceInvokeExpr,DNewInvokeExpr,DSpecialInvokeExpr,DStaticInvokeExpr,DVirtualInvokeExpr,GDynamicInvokeExpr,GInterfaceInvokeExpr,GNewInvokeExpr,GSpecialInvokeExpr,GStaticInvokeExpr,GVirtualInvokeExpr,JDynamicInvokeExpr,JInterfaceInvokeExpr,JSpecialInvokeExpr,JStaticInvokeExpr,JVirtualInvokeExpr
public interface InvokeExpr extends Expr
Represents method invocation expression.- See Also:
invokevirtual,invokeinterface,invokespecial,invokestatic,invokedynamic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValuegetArg(int index)ValueBoxgetArgBox(int index)intgetArgCount()List<Value>getArgs()SootMethodgetMethod()ResolvesSootMethodReftoSootMethod.SootMethodRefgetMethodRef()voidsetArg(int index, Value arg)voidsetMethodRef(SootMethodRef smr)-
Methods inherited from interface soot.EquivTo
equivHashCode, equivTo
-
Methods inherited from interface soot.util.Switchable
apply
-
Methods inherited from interface soot.Value
clone, getType, getUseBoxes, toString
-
-
-
-
Method Detail
-
setMethodRef
void setMethodRef(SootMethodRef smr)
-
getMethodRef
SootMethodRef getMethodRef()
-
getMethod
SootMethod getMethod()
ResolvesSootMethodReftoSootMethod.- Returns:
SootMethodinstance, ornullwhen reference cannot be resolved andOptions.ignore_resolution_errorsistrue- Throws:
SootMethodRefImpl.ClassResolutionFailedException- when reference cannot be resolved andOptions.ignore_resolution_errorsisfalse
-
getArg
Value getArg(int index)
-
getArgCount
int getArgCount()
-
setArg
void setArg(int index, Value arg)
-
getArgBox
ValueBox getArgBox(int index)
-
-