public abstract class Constant extends java.lang.Object implements Value, ConvertToBaf, Immediate
Constructor and Description |
---|
Constant() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones the current constant.
|
void |
convertToBaf(JimpleToBafContext context,
java.util.List<Unit> out)
Adds a Baf instruction pushing this constant to the stack onto
out . |
int |
equivHashCode()
Returns a hash code consistent with structural equality for this object.
|
boolean |
equivTo(java.lang.Object c)
Returns true if this object is structurally equivalent to c.
|
java.util.List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
void |
toString(UnitPrinter up) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public final java.util.List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
out
.convertToBaf
in interface ConvertToBaf
public java.lang.Object clone()
public boolean equivTo(java.lang.Object c)
public int equivHashCode()
equivHashCode
in interface EquivTo
public void toString(UnitPrinter up)