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

    public static final class Locations.ConstantLocation
    extends Locations.ValueLocation

### 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
`ConstantLocation​(java.lang.Object value)`

### Method Summary

All Methods Instance Methods Concrete Methods
`boolean` `isConstant()` Returns `true` 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`

### Methods inherited from class java.lang.Object

`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

### Constructor Detail

#### ConstantLocation

    public ConstantLocation​(java.lang.Object value)

### Method Detail

#### isConstant

    public boolean isConstant()

Description copied from class: `Location`
Returns `true` if this is an immutable constant location.

Overrides:
  `isConstant` in class `LocationImpl`