@Override public Property copyWithRelocatable(boolean newRelocatable) { if (this.relocatable != newRelocatable) { return new PropertyImpl(key, location, flags, shadow, newRelocatable); } return this; } }
/** @since 0.17 or earlier */ @Override public Property copyWithRelocatable(boolean newRelocatable) { if (this.relocatable != newRelocatable) { return new PropertyImpl(key, location, flags, newRelocatable); } return this; } }
public Property createProperty(Object id, Location location, int flags) { return new PropertyImpl(id, location, flags); }
/** @since 0.17 or earlier */ @SuppressWarnings("hiding") protected Property construct(Object name, Location location, int flags) { return new PropertyImpl(name, location, flags, relocatable); }
/** @since 0.17 or earlier */ @SuppressWarnings("hiding") protected Property construct(Object name, Location location, int flags) { return new PropertyImpl(name, location, flags, relocatable); }
/** @since 0.17 or earlier */ @Override public Property copyWithRelocatable(boolean newRelocatable) { if (this.relocatable != newRelocatable) { return new PropertyImpl(key, location, flags, newRelocatable); } return this; } }
@SuppressWarnings("hiding") protected Property construct(Object name, Location location, int flags) { return new PropertyImpl(name, location, flags, shadow, relocatable); }
public Property createProperty(Object id, Location location, int flags) { return new PropertyImpl(id, location, flags); }
public Property createProperty(Object id, Location location, int flags) { return new PropertyImpl(id, location, flags); }
private Property relocateShadow(Location newLocation) { assert !isShadow() && getLocation() instanceof DeclaredLocation && relocatable; return new PropertyImpl(getKey(), newLocation, flags, true, relocatable); }