Apply attachment 18732 from Alexey Parshin with slight modification. writeClass(): Add an auxiliary variable, constraintMap, to avoid excessive code for duplicated associations. (Those duplicated associations should not be there in the first place though.) writeAttributes(): Generate code for implementation-level attributes. BUG:138139
Changed paths: