soot.grimp.internal
Class GNewInvokeExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractInvokeExpr
      extended by soot.grimp.internal.GNewInvokeExpr
All Implemented Interfaces:
Serializable, EquivTo, NewInvokeExpr, Precedence, Expr, InvokeExpr, StaticInvokeExpr, Switchable, Value
Direct Known Subclasses:
DNewInvokeExpr

public class GNewInvokeExpr
extends AbstractInvokeExpr
implements NewInvokeExpr, Precedence

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.jimple.internal.AbstractInvokeExpr
argBoxes, methodRef
 
Constructor Summary
GNewInvokeExpr(RefType type, 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 hash code for this object, consistent with structural equality.
 boolean equivTo(Object o)
          Returns true if this object is equivalent to o.
 RefType getBaseType()
           
 int getPrecedence()
           
 Type getType()
          Returns the Soot type of this Value.
 List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setBaseType(RefType type)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.AbstractInvokeExpr
getArg, getArgBox, getArgCount, getArgs, getMethod, getMethodRef, 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, setArg, setMethodRef
 

Constructor Detail

GNewInvokeExpr

public GNewInvokeExpr(RefType type,
                      SootMethodRef methodRef,
                      List args)
Method Detail

getBaseType

public RefType getBaseType()
Specified by:
getBaseType in interface NewInvokeExpr

setBaseType

public void setBaseType(RefType type)
Specified by:
setBaseType in interface NewInvokeExpr

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

Specified by:
getType in interface InvokeExpr
Specified by:
getType in interface StaticInvokeExpr
Specified by:
getType in interface Value
Overrides:
getType in class AbstractInvokeExpr

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in interface Precedence

toString

public String toString()
Overrides:
toString in class Object

toString

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

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 StaticInvokeExpr
Specified by:
apply in interface Switchable

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

equivHashCode

public int equivHashCode()
Returns a hash code for this object, consistent with structural equality.

Specified by:
equivHashCode in interface EquivTo