public abstract class AbstractInstanceOfExpr extends Object implements InstanceOfExpr
| Modifier and Type | Field and Description |
|---|---|
protected Type |
checkType |
protected ValueBox |
opBox |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInstanceOfExpr(ValueBox opBox,
Type checkType) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
abstract 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.
|
Type |
getCheckType() |
Value |
getOp() |
ValueBox |
getOpBox() |
Type |
getType()
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.
|
void |
setCheckType(Type checkType) |
void |
setOp(Value op) |
String |
toString() |
void |
toString(UnitPrinter up) |
public abstract Object clone()
Valuepublic boolean equivTo(Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic void toString(UnitPrinter up)
public Value getOp()
getOp in interface InstanceOfExprpublic void setOp(Value op)
setOp in interface InstanceOfExprpublic ValueBox getOpBox()
getOpBox in interface InstanceOfExprpublic final List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
Valuepublic Type getCheckType()
getCheckType in interface InstanceOfExprpublic void setCheckType(Type checkType)
setCheckType in interface InstanceOfExprpublic void apply(Switch sw)
Switchableapply in interface SwitchableCopyright © 2024 Soot OSS. All rights reserved.