Skip to content

Commit

Permalink
Automated rollback of commit 49a9a5d.
Browse files Browse the repository at this point in the history
*** Reason for rollback ***

This should be unnecessary. You can achieve the same effect by annotating your annotation with @keep.

This looks to be possible given you already have a dep on EP's annotations: []

*** Original change description ***

Add CalledByNative to Unused method exemption list

CalledByNative annotation: Used by the JNI generator to create the necessary JNI bindings and expose this method to native code:

***

PiperOrigin-RevId: 662434701
  • Loading branch information
graememorgan authored and Error Prone Team committed Aug 14, 2024
1 parent 9aabba6 commit f13c154
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ 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 f13c154

Please sign in to comment.