@Override public void freeze(FullName obj, FrozenContext<FullName> ctx) { obj.firstNameFrozenContext = FrozenContext.combine(obj.firstNameFrozenContext, ctx); obj.lastNameFrozenContext = FrozenContext.combine(obj.lastNameFrozenContext, ctx); }
@SuppressWarnings({"unchecked", "rawtypes"}) @Override public void freezeIdentifier(FrozenContext<?> ctx) { this.idFrozenContext = FrozenContext.combine((FrozenContext) this.idFrozenContext, (FrozenContext) ctx); }