Package soot.jimple.internal
Class AbstractInstanceOfExpr
- java.lang.Object
-
- soot.jimple.internal.AbstractInstanceOfExpr
-
- All Implemented Interfaces:
Serializable,EquivTo,Expr,InstanceOfExpr,Switchable,Value
- Direct Known Subclasses:
GInstanceOfExpr,JInstanceOfExpr
public abstract class AbstractInstanceOfExpr extends Object implements InstanceOfExpr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractInstanceOfExpr(ValueBox opBox, Type checkType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.abstract 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.TypegetCheckType()ValuegetOp()ValueBoxgetOpBox()TypegetType()Returns the Soot type of this Value.List<ValueBox>getUseBoxes()Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.voidsetCheckType(Type checkType)voidsetOp(Value op)StringtoString()voidtoString(UnitPrinter up)
-
-
-
Method Detail
-
clone
public abstract Object clone()
Description copied from interface:ValueReturns a clone of this Value.
-
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
-
toString
public void toString(UnitPrinter up)
-
getOp
public Value getOp()
- Specified by:
getOpin interfaceInstanceOfExpr
-
setOp
public void setOp(Value op)
- Specified by:
setOpin interfaceInstanceOfExpr
-
getOpBox
public ValueBox getOpBox()
- Specified by:
getOpBoxin interfaceInstanceOfExpr
-
getUseBoxes
public final List<ValueBox> getUseBoxes()
Description copied from interface:ValueReturns a List of boxes corresponding to Values which are used by (ie contained within) this Value.- Specified by:
getUseBoxesin interfaceValue
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
getCheckType
public Type getCheckType()
- Specified by:
getCheckTypein interfaceInstanceOfExpr
-
setCheckType
public void setCheckType(Type checkType)
- Specified by:
setCheckTypein interfaceInstanceOfExpr
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceSwitchable
-
-