public final class HotSpotCompressedNullConstant extends AbstractValue implements JavaConstant, HotSpotConstant
null constant
.Value.IllegalValue
Modifier and Type | Field and Description |
---|---|
static JavaConstant |
COMPRESSED_NULL |
ILLEGAL
DOUBLE_0, DOUBLE_1, FALSE, FLOAT_0, FLOAT_1, INT_0, INT_1, INT_2, INT_MINUS_1, LONG_0, LONG_1, NULL_POINTER, TRUE
Modifier | Constructor and Description |
---|---|
private |
HotSpotCompressedNullConstant() |
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean() |
Object |
asBoxedPrimitive() |
double |
asDouble() |
float |
asFloat() |
int |
asInt() |
long |
asLong() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isCompressed() |
boolean |
isDefaultForKind() |
boolean |
isNull() |
String |
toString() |
String |
toValueString() |
getKind, getKindSuffix, getLIRKind, getPlatformKind, identityEquals
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, defaultForKind, forBoolean, forBoxedPrimitive, forByte, forChar, forDouble, forFloat, forIllegal, forInt, forIntegerKind, forLong, forPrimitiveInt, forShort, isNonNull, isNull, mul, one, toString, zero
getLIRKind, getPlatformKind, identityEquals
getKind
public static final JavaConstant COMPRESSED_NULL
private HotSpotCompressedNullConstant()
public boolean isNull()
isNull
in interface JavaConstant
public boolean isCompressed()
isCompressed
in interface HotSpotConstant
public boolean isDefaultForKind()
isDefaultForKind
in interface Constant
isDefaultForKind
in interface JavaConstant
public Object asBoxedPrimitive()
asBoxedPrimitive
in interface JavaConstant
public int asInt()
asInt
in interface JavaConstant
public boolean asBoolean()
asBoolean
in interface JavaConstant
public long asLong()
asLong
in interface JavaConstant
public float asFloat()
asFloat
in interface JavaConstant
public double asDouble()
asDouble
in interface JavaConstant
public String toValueString()
toValueString
in interface Constant
toValueString
in interface JavaConstant
public int hashCode()
hashCode
in class AbstractValue
public boolean equals(Object o)
equals
in class AbstractValue