Package soot.grimp.internal
Class GNewInvokeExpr
- java.lang.Object
-
- soot.jimple.internal.AbstractInvokeExpr
-
- 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 Modifier and Type Field Description protected RefTypetype-
Fields inherited from class soot.jimple.internal.AbstractInvokeExpr
argBoxes, methodRef
-
-
Constructor Summary
Constructors Constructor Description GNewInvokeExpr(RefType type, SootMethodRef methodRef, List<? extends Value> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.Objectclone()Returns a clone of this Value.intequivHashCode()Returns a hash code for this object, consistent with structural equality.booleanequivTo(Object o)Returns true if this object is equivalent to o.RefTypegetBaseType()intgetPrecedence()TypegetType()Returns the Soot type of this Value.voidsetBaseType(RefType type)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.jimple.internal.AbstractInvokeExpr
getArg, getArgBox, getArgCount, getArgs, getMethod, getMethodRef, getUseBoxes, 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
-
Methods inherited from interface soot.Value
getUseBoxes
-
-
-
-
Field Detail
-
type
protected RefType type
-
-
Constructor Detail
-
GNewInvokeExpr
public GNewInvokeExpr(RefType type, SootMethodRef methodRef, List<? extends Value> args)
-
-
Method Detail
-
getBaseType
public RefType getBaseType()
- Specified by:
getBaseTypein interfaceNewInvokeExpr
-
setBaseType
public void setBaseType(RefType type)
- Specified by:
setBaseTypein interfaceNewInvokeExpr
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.- Specified by:
getTypein interfaceStaticInvokeExpr- Specified by:
getTypein interfaceValue- Overrides:
getTypein classAbstractInvokeExpr
-
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedencein interfacePrecedence
-
toString
public void toString(UnitPrinter up)
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceStaticInvokeExpr- Specified by:
applyin interfaceSwitchable
-
clone
public Object clone()
Description copied from interface:ValueReturns a clone of this Value.- Specified by:
clonein interfaceValue- Specified by:
clonein classAbstractInvokeExpr
-
equivTo
public boolean equivTo(Object o)
Description copied from interface:EquivToReturns true if this object is equivalent to o.
-
equivHashCode
public int equivHashCode()
Returns a hash code for this object, consistent with structural equality.- Specified by:
equivHashCodein interfaceEquivTo
-
-