public static final class Locations.ConstantLocation extends Locations.ValueLocation
LocationImpl.EffectivelyFinalLocation<T extends Location>, LocationImpl.InternalLongLocation, LocationImpl.TypedObjectLocation<T extends Location & ObjectLocation>
Constructor and Description |
---|
ConstantLocation(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
isConstant()
Returns
true if this is an immutable constant location. |
canStoreFinal, equals, get, hashCode, set, setInternal, toString
canSet, canStore, getInternal, getWhereString, isFinal, objectArrayCount, objectFieldCount, primitiveArrayCount, primitiveFieldCount, valueEquals
checkShape, finalLocation, get, incompatibleLocation, set, set
public boolean isConstant()
Location
true
if this is an immutable constant location.isConstant
in class LocationImpl