public abstract class AbstractCastExpr extends Object implements CastExpr, ConvertToBaf
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCastExpr(ValueBox opBox,
Type type) |
| 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.
|
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.
|
Type |
getCastType() |
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 |
setCastType(Type castType) |
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 final List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getCastType()
getCastType in interface CastExprpublic void setCastType(Type castType)
setCastType in interface CastExprpublic Type getType()
Valuepublic void apply(Switch sw)
Switchableapply in interface CastExprapply in interface Switchablepublic void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf in interface ConvertToBafCopyright © 2020 Soot OSS. All rights reserved.