mannodermaus
08/05/2023, 5:24 AM@field:Redacted
or @property:Redacted
.
For testing, I tried adding another third-party annotation to one of the fields and that one does end up in the class file, so I’m not sure what I’m doing wrong. Does anybody have a pointer regarding how to make my annotation show up in User.class
? Thanks in advance.mannodermaus
08/05/2023, 5:34 AMAnnotationTarget.VALUE_PARAMETER
. FIELD
isn’t cutting it here.Haroon Iftikhar
08/05/2023, 5:49 AMmannodermaus
08/05/2023, 5:51 AM@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.FIELD)
annotation class Redacted
to
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.VALUE_PARAMETER)
annotation class Redacted
and it is put in the class file. 🙂