Records in java : the illusion of immutability