/** @since 0.17 or earlier */ @Override public final Object get(DynamicObject store, boolean condition) { return getLocation().get(store, condition); }
/** @since 0.17 or earlier */ @Override public final Object get(DynamicObject store, Shape shape) { return getLocation().get(store, shape); }
/** @since 0.17 or earlier */ @Override public final Object get(DynamicObject store, boolean condition) { return getLocation().get(store, condition); }
/** @since 0.17 or earlier */ @Override public final void setInternal(DynamicObject store, Object value) { try { ((LocationImpl) getLocation()).setInternal(store, value); } catch (IncompatibleLocationException e) { throw new IllegalStateException(); } }
/** @since 0.17 or earlier */ @Override public final void setInternal(DynamicObject store, Object value) { try { ((LocationImpl) getLocation()).setInternal(store, value); } catch (IncompatibleLocationException e) { throw new IllegalStateException(); } }
/** @since 0.17 or earlier */ @Override public final Object get(DynamicObject store, Shape shape) { return getLocation().get(store, shape); }
@Override public final void setSafe(DynamicObject store, Object value, Shape oldShape, Shape newShape) { assert store.getShape() == oldShape : "wrong old shape"; assert newShape.isValid(); assert getLocation() != null; try { getLocation().set(store, value, oldShape, newShape); } catch (IncompatibleLocationException ex) { throw new IllegalStateException(); } }
@Override public final void set(DynamicObject store, Object value, Shape oldShape, Shape newShape) throws IncompatibleLocationException { assert store.getShape() == oldShape : "wrong shape"; assert newShape.isValid(); assert getLocation() != null; getLocation().set(store, value, oldShape, newShape); }
/** @since 0.17 or earlier */ @Override public final void setSafe(DynamicObject store, Object value, Shape oldShape, Shape newShape) { assert verifyShapeParameters(store, oldShape, newShape); try { getLocation().set(store, value, oldShape, newShape); } catch (IncompatibleLocationException ex) { throw new IllegalStateException(); } }
@Override public final void set(DynamicObject store, Object value, Shape shape) throws IncompatibleLocationException, FinalLocationException { assert shape == null || store.getShape() == shape : "wrong shape"; getLocation().set(store, value, shape); }
@Override public final void setGeneric(DynamicObject store, Object value, Shape oldShape, Shape newShape) { assert store.getShape() == oldShape : "wrong old shape"; assert newShape.isValid(); assert getLocation() != null; try { getLocation().set(store, value, oldShape, newShape); } catch (IncompatibleLocationException ex) { setWithShapeSlowCase(store, value, oldShape, newShape); } }
/** @since 0.17 or earlier */ @Override public Property relocate(Location newLocation) { if (!getLocation().equals(newLocation) && relocatable) { return construct(key, newLocation, flags); } return this; }
/** @since 0.17 or earlier */ @Override public final void set(DynamicObject store, Object value, Shape oldShape, Shape newShape) throws IncompatibleLocationException { assert verifyShapeParameters(store, oldShape, newShape); getLocation().set(store, value, oldShape, newShape); }
/** @since 0.17 or earlier */ @Override public final void set(DynamicObject store, Object value, Shape shape) throws IncompatibleLocationException, FinalLocationException { assert verifyShapeParameter(store, shape); getLocation().set(store, value, shape); }
/** @since 0.17 or earlier */ @Override public final void set(DynamicObject store, Object value, Shape oldShape, Shape newShape) throws IncompatibleLocationException { assert verifyShapeParameters(store, oldShape, newShape); getLocation().set(store, value, oldShape, newShape); }
@Override public Property relocate(Location newLocation) { if ((getLocation() == null || !getLocation().equals(newLocation)) && relocatable) { return construct(getKey(), newLocation, getFlags()); } return this; }
/** @since 0.17 or earlier */ @Override public Property relocate(Location newLocation) { if (!getLocation().equals(newLocation) && relocatable) { return construct(key, newLocation, flags); } return this; }
/** @since 0.17 or earlier */ @Override public final void set(DynamicObject store, Object value, Shape shape) throws IncompatibleLocationException, FinalLocationException { assert verifyShapeParameter(store, shape); getLocation().set(store, value, shape); }
/** @since 0.17 or earlier */ @Override public final void setGeneric(DynamicObject store, Object value, Shape oldShape, Shape newShape) { assert verifyShapeParameters(store, oldShape, newShape); try { getLocation().set(store, value, oldShape, newShape); } catch (IncompatibleLocationException ex) { setWithShapeSlowCase(store, value, oldShape, newShape); } }
/** @since 0.17 or earlier */ @Override public final void setGeneric(DynamicObject store, Object value, Shape oldShape, Shape newShape) { assert verifyShapeParameters(store, oldShape, newShape); try { getLocation().set(store, value, oldShape, newShape); } catch (IncompatibleLocationException ex) { setWithShapeSlowCase(store, value, oldShape, newShape); } }