soot.jimple.internal
Class JDynamicInvokeExpr
java.lang.Object
soot.jimple.internal.AbstractInvokeExpr
soot.jimple.internal.JDynamicInvokeExpr
- All Implemented Interfaces:
- Serializable, EquivTo, ConvertToBaf, DynamicInvokeExpr, Expr, InvokeExpr, Switchable, Value
public class JDynamicInvokeExpr
- extends AbstractInvokeExpr
- implements DynamicInvokeExpr, ConvertToBaf
- See Also:
- Serialized Form
bsmRef
protected SootMethodRef bsmRef
bsmArgBoxes
protected ValueBox[] bsmArgBoxes
JDynamicInvokeExpr
public JDynamicInvokeExpr(SootMethodRef bootstrapMethodRef,
List<Value> bootstrapArgs,
SootMethodRef methodRef,
List<Value> methodArgs)
getBootstrapArgCount
public int getBootstrapArgCount()
getBootstrapArg
public Value getBootstrapArg(int index)
clone
public Object clone()
- Description copied from interface:
Value
- Returns a clone of this Value.
- Specified by:
clone
in interface Value
- Specified by:
clone
in class AbstractInvokeExpr
equivTo
public boolean equivTo(Object o)
- Description copied from interface:
EquivTo
- Returns true if this object is equivalent to o.
- Specified by:
equivTo
in interface EquivTo
getBootstrapMethod
public SootMethod getBootstrapMethod()
equivHashCode
public int equivHashCode()
- Returns a hash code for this object, consistent with structural equality.
- Specified by:
equivHashCode
in interface EquivTo
toString
public String toString()
- Overrides:
toString
in class Object
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface Value
apply
public void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Specified by:
apply
in interface Switchable
getUseBoxes
public 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 Value
convertToBaf
public void convertToBaf(JimpleToBafContext context,
List<Unit> out)
- Specified by:
convertToBaf
in interface ConvertToBaf
getBootstrapMethodRef
public SootMethodRef getBootstrapMethodRef()
- Specified by:
getBootstrapMethodRef
in interface DynamicInvokeExpr
getBootstrapArgs
public List getBootstrapArgs()
- Specified by:
getBootstrapArgs
in interface DynamicInvokeExpr