soot.jimple.internal
Class AbstractVirtualInvokeExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractInvokeExpr
      extended by soot.jimple.internal.AbstractInstanceInvokeExpr
          extended by soot.jimple.internal.AbstractVirtualInvokeExpr
All Implemented Interfaces:
Serializable, EquivTo, ConvertToBaf, Expr, InstanceInvokeExpr, InvokeExpr, VirtualInvokeExpr, Switchable, Value
Direct Known Subclasses:
GVirtualInvokeExpr, JVirtualInvokeExpr

public abstract class AbstractVirtualInvokeExpr
extends AbstractInstanceInvokeExpr
implements VirtualInvokeExpr, ConvertToBaf

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.jimple.internal.AbstractInstanceInvokeExpr
baseBox
 
Fields inherited from class soot.jimple.internal.AbstractInvokeExpr
argBoxes, methodRef
 
Constructor Summary
protected AbstractVirtualInvokeExpr(ValueBox baseBox, SootMethodRef methodRef, ValueBox[] argBoxes)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
abstract  Object clone()
          Returns a clone of this Value.
 void convertToBaf(JimpleToBafContext context, List<Unit> out)
           
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(Object o)
          Returns true if this object is equivalent to o.
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.AbstractInstanceInvokeExpr
getBase, getBaseBox, getUseBoxes, setBase
 
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.InstanceInvokeExpr
getBase, getBaseBox, setBase
 
Methods inherited from interface soot.jimple.InvokeExpr
getArg, getArgBox, getArgCount, getArgs, getMethod, getMethodRef, getType, setArg, setMethodRef
 
Methods inherited from interface soot.Value
getUseBoxes
 

Constructor Detail

AbstractVirtualInvokeExpr

protected AbstractVirtualInvokeExpr(ValueBox baseBox,
                                    SootMethodRef methodRef,
                                    ValueBox[] argBoxes)
Method Detail

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()
Returns a hash code for this object, consistent with structural equality.

Specified by:
equivHashCode in interface EquivTo

clone

public abstract 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

apply

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

Specified by:
apply in interface Switchable

toString

public String toString()
Overrides:
toString in class Object

toString

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

convertToBaf

public void convertToBaf(JimpleToBafContext context,
                         List<Unit> out)
Specified by:
convertToBaf in interface ConvertToBaf