JetBrains / JetBrains/java-annotations
@CalledFromNative annotation
Offen
- Vorherrschende Sprache
- Kotlin
- Sterne
- 463
- Forks
- 72
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
From https://youtrack.jetbrains.com/issue/IDEA-163737:
A very usefull annotation would be a `@CalledFromNative` that would be used to mark class methods that are meant to be called from native code. This annotation would allow for suppressing of the "method is never used" inspection and would in general help in clarifying the code. This would especially be useful in Android (Studio) projects that mix java and native code.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.