Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Annotating a java-method with @RequiresFeature will cause the linter to display a warning whenever the method is used in a kotlin or java source code file.
Annotating a kotlin-method the same way will not have any effect though.
STEPS TO REPRODUCE:
1. Annotate any method in a kotlin source file with @RequiresFeature("
2. Use this method in the same or a different file
3. Check for linter warning / Run inspection "Requires Feature" --> There is none
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build:
Android Studio Koala | 2024.1.1 Patch 2
Build #AI-241.18034.62.2411.12169540, built on August 1, 2024
Version of Gradle Plugin: 8.5.2
Version of Gradle: 8.7
Version of Java: 17.0.11
OS: Windows 10