Skip to content

Commit

Permalink
Do not treat @JavascriptInterface methods as Unused
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684424245
  • Loading branch information
agrieve authored and Error Prone Team committed Oct 10, 2024
1 parent 5f71110 commit 5145dae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public final class UnusedMethod extends BugChecker implements CompilationUnitTre
*/
private static final ImmutableSet<String> EXEMPTING_METHOD_ANNOTATIONS =
ImmutableSet.of(
"android.webkit.JavascriptInterface",
"com.fasterxml.jackson.annotation.JsonCreator",
"com.fasterxml.jackson.annotation.JsonProperty",
"com.fasterxml.jackson.annotation.JsonSetter",
Expand Down

0 comments on commit 5145dae

Please sign in to comment.