Feature Request P3
Status Update
Comments
nj...@google.com <nj...@google.com> #2
FWIW we also had tried to update various targets on androidx annotations to support properties but backed out this change as a result:
Description
DESCRIBE THE ISSUE IN DETAIL: Attempts to add an annotation to a kotlin property show the following error:
This annotation is not applicable to target 'member property without backing field or delegate
See the following sample code:
STEPS TO REPRODUCE:
The Androidx team would like to be able to include the following annotations on kotlin properties:
Android Studio Hedgehog | 2023.1.1 Canary 15 Build #AI-231.9225.16.2311.10572941, built on July 27, 2023 Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.5 GC: G1 Young Generation, G1 Old Generation Memory: 8192M Cores: 10 Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false