You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 😄
The text was updated successfully, but these errors were encountered:
Juuxel
changed the title
(Java 16+) Support using @Comment on record components
(Java 16+) Support using @Comment and @SerializedName on record components
May 25, 2021
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 additionalgetField
calls).Of course, it's only available on Java 16 and newer so this is for the far future 😄
The text was updated successfully, but these errors were encountered: