JetBrains / JetBrains/java-annotations

@CalledFromNative annotation

Open
#45 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
463
Forks
72
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.