public final class NullConstantOperand extends ConstantOperand
null
constant.Operand
instruction
Constructor and Description |
---|
NullConstantOperand() |
Modifier and Type | Method and Description |
---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to
this . |
TypeReference |
getType()
Return the
TypeReference of the value represented by the operand. |
boolean |
isDefinitelyNull()
Does the operand definitely represent
null ? |
boolean |
isRef()
Does the operand represent a value of the reference data type?
|
boolean |
similar(Operand op)
Are two operands semantically equivalent?
|
String |
toString()
Returns the string representation of this operand.
|
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, isAddress, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLong, isLongConstant, isMemory, isMethod, isMovableObjectConstant, isNullConstant, isObjectConstant, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meet
public NullConstantOperand()
public Operand copy()
Operand
this
.public TypeReference getType()
Operand
TypeReference
of the value represented by the operand.public boolean isRef()
Operand
public boolean isDefinitelyNull()
Operand
null
?isDefinitelyNull
in class Operand
true
public boolean similar(Operand op)
Operand