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()
Value
public boolean equivTo(Object o)
EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
public void toString(UnitPrinter up)
public final List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getCastType()
getCastType
in interface CastExpr
public void setCastType(Type castType)
setCastType
in interface CastExpr
public Type getType()
Value
public void apply(Switch sw)
Switchable
apply
in interface CastExpr
apply
in interface Switchable
public void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf
in interface ConvertToBaf
Copyright © 2019 Sable. All rights reserved.