Skip to content

Commit

Permalink
Make UnusedMethod recognize com.google.acai annotations, com.google.c…
Browse files Browse the repository at this point in the history
…aliper.Benchmark, com.google.common.eventbus.Subscribe, and com.google.inject.throwingproviders.CheckedProvides.

Fixes google/guava#6281

PiperOrigin-RevId: 497980825
  • Loading branch information
cpovirk authored and Error Prone Team committed Dec 27, 2022
1 parent 7340bdf commit 5768290
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,16 @@ public final class UnusedMethod extends BugChecker implements CompilationUnitTre
ImmutableSet.of(
"com.fasterxml.jackson.annotation.JsonCreator",
"com.fasterxml.jackson.annotation.JsonValue",
"com.google.acai.AfterTest",
"com.google.acai.BeforeSuite",
"com.google.acai.BeforeTest",
"com.google.caliper.Benchmark",
"com.google.common.eventbus.Subscribe",
"com.google.inject.Provides",
"com.google.inject.Inject",
"com.google.inject.multibindings.ProvidesIntoMap",
"com.google.inject.multibindings.ProvidesIntoSet",
"com.google.inject.throwingproviders.CheckedProvides",
"com.tngtech.java.junit.dataprovider.DataProvider",
"jakarta.annotation.PreDestroy",
"jakarta.annotation.PostConstruct",
Expand Down

0 comments on commit 5768290

Please sign in to comment.