Package com.oracle.truffle.object
Class Locations.ConstantLocation
java.lang.Object
com.oracle.truffle.api.object.Location
com.oracle.truffle.object.LocationImpl
com.oracle.truffle.object.Locations.ValueLocation
com.oracle.truffle.object.Locations.ConstantLocation
- All Implemented Interfaces:
BaseLocation
- Enclosing class:
- Locations
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.object.LocationImpl
LocationImpl.EffectivelyFinalLocation<T extends Location>, LocationImpl.InternalLongLocation, LocationImpl.TypedObjectLocation<T extends Location & ObjectLocation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if this is an immutable constant location.Methods inherited from class com.oracle.truffle.object.Locations.ValueLocation
canStoreFinal, equals, get, hashCode, set, setInternal, toString
Methods inherited from class com.oracle.truffle.object.LocationImpl
canSet, canStore, getInternal, getWhereString, isFinal, objectArrayCount, objectFieldCount, primitiveArrayCount, primitiveFieldCount, valueEquals
Methods inherited from class com.oracle.truffle.api.object.Location
checkShape, finalLocation, get, incompatibleLocation, set, set
-
Constructor Details
-
ConstantLocation
-
-
Method Details
-
isConstant
public boolean isConstant()Description copied from class:Location
Returnstrue
if this is an immutable constant location.- Overrides:
isConstant
in classLocationImpl
-