Migrated from Google Code (issue 269)
👤 firstname.lastname@example.org 🕗 Sep 05, 2011 at 16:40 UTC
Consider the attached code.
A delombok of the code will NOT retain the @ XmlEnumValue annotations.
I expect the @ XmlEnumValue annotations to be retained during delombok.
This problem exists in 0.10.0, but I also think it existed in 0.9.3.
I can witness this problem on Windows and Mac.
I am using Java 6 update 24 and 26.
👤 reinierz 🕗 Sep 20, 2011 at 19:06 UTC
Delombok currently runs off of a source printer we found in the openJDK sources. It's pretty bad; this certainly isn't the first case where the printer is just wrong. We fixed it in e4bff6b but hopefully we can move to lombok.ast soon which has a much better tested printer. It got this one right, for example.
Will be in 0.10.1.
End of migration