public abstract class AbstractCastExpr extends java.lang.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 java.lang.Object |
clone()
Returns a clone of this Value.
|
void |
convertToBaf(JimpleToBafContext context,
java.util.List<Unit> out) |
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(java.lang.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.
|
java.util.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) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
public abstract java.lang.Object clone()
Value
public boolean equivTo(java.lang.Object o)
EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public final java.util.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, java.util.List<Unit> out)
convertToBaf
in interface ConvertToBaf