Skip to content

Commit

Permalink
Add CalledByNative to Unused method exemption list
Browse files Browse the repository at this point in the history
CalledByNative annotation: Used by the JNI generator to create the necessary JNI bindings and expose this method to native code:

PiperOrigin-RevId: 662222852
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Aug 12, 2024
1 parent df69770 commit 49a9a5d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public final class UnusedMethod extends BugChecker implements CompilationUnitTre
"org.aspectj.lang.annotation.Pointcut",
"org.aspectj.lang.annotation.After",
"org.aspectj.lang.annotation.Before",
"org.chromium.base.annotations.CalledByNative",
"org.springframework.context.annotation.Bean",
"org.testng.annotations.AfterClass",
"org.testng.annotations.AfterMethod",
Expand Down

0 comments on commit 49a9a5d

Please sign in to comment.