soot.grimp.internal
Class GDynamicInvokeExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractInvokeExpr
      extended by soot.grimp.internal.GDynamicInvokeExpr
All Implemented Interfaces:
Serializable, EquivTo, DynamicInvokeExpr, Expr, InvokeExpr, Switchable, Value

public class GDynamicInvokeExpr
extends AbstractInvokeExpr
implements DynamicInvokeExpr

See Also:
Serialized Form

Field Summary
protected  ValueBox[] bsmArgBoxes
           
 
Constructor Summary
GDynamicInvokeExpr(SootMethodRef bootStrapMethodRef, List<Value> bootstrapArgs, SootMethodRef methodRef, List args)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a (not necessarily fixed) hash code for this object.
 boolean equivTo(Object o)
          Returns true if this object is equivalent to o.
 int getBootstrapArgCount()
           
 List<Value> getBootstrapArgs()
           
 SootMethodRef getBootstrapMethodRef()
           
 List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.AbstractInvokeExpr
getArg, getArgBox, getArgCount, getArgs, getMethod, getMethodRef, getType, setArg, setMethodRef
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.jimple.InvokeExpr
getArg, getArgBox, getArgCount, getArgs, getMethod, getMethodRef, getType, setArg, setMethodRef
 

Field Detail

bsmArgBoxes

protected ValueBox[] bsmArgBoxes
Constructor Detail

GDynamicInvokeExpr

public GDynamicInvokeExpr(SootMethodRef bootStrapMethodRef,
                          List<Value> bootstrapArgs,
                          SootMethodRef methodRef,
                          List args)
Method Detail

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

getBootstrapArgCount

public int getBootstrapArgCount()

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

apply

public void apply(Switch sw)
Description copied from interface: Switchable
Called when this object is visited.

Specified by:
apply in interface Switchable

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

equivHashCode

public int equivHashCode()
Description copied from interface: EquivTo
Returns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects.

Specified by:
equivHashCode in interface EquivTo

getBootstrapMethodRef

public SootMethodRef getBootstrapMethodRef()
Specified by:
getBootstrapMethodRef in interface DynamicInvokeExpr

getBootstrapArgs

public List<Value> getBootstrapArgs()
Specified by:
getBootstrapArgs in interface DynamicInvokeExpr

toString

public String toString()
Overrides:
toString in class Object

toString

public void toString(UnitPrinter up)
Specified by:
toString in interface Value