Jankson icon indicating copy to clipboard operation
Jankson copied to clipboard

(Java 16+) Support using @Comment and @SerializedName on record components

Open Juuxel opened this issue 4 years ago • 0 comments

Currently, fetching them (for my WIP record adapter) needs me to reflect the backing field of the record component, as the annotation goes onto the field. Having ElementType.RECORD_COMPONENT as a possible target would make the code cleaner (without the additional getField calls).

Of course, it's only available on Java 16 and newer so this is for the far future 😄

Juuxel avatar May 24 '21 20:05 Juuxel