Quick question. Is there any way I can drop the `f...
# announcements
e
Quick question. Is there any way I can drop the
field:
prefix when annotating a field? I understand the purpose of the prefix in terms of positioning the annotation correctly in the generated bytecode, but I was hoping there might be another way that didn't litter up the syntax, since the value of the annotated fields is defined via a DSL and I'd like to keep things as tidy as possible.
Copy code
@field:Convo
val someConvo = ...
Copy code
val fields = Reflections("my.package",
            FieldAnnotationsScanner()).getFieldsAnnotatedWith(Convo::class.java)
I'd love to hear your input / suggestions. Maybe there's a better way I could go about this?