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 |
|---|
Locations.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, toStringcanSet, canStore, getInternal, getWhereString, isFinal, objectArrayCount, objectFieldCount, primitiveArrayCount, primitiveFieldCount, valueEqualscheckShape, finalLocation, get, incompatibleLocation, set, setpublic Locations.ConstantLocation(java.lang.Object value)
public boolean isConstant()
Locationtrue if this is an immutable constant location.isConstant in class LocationImpl