Skip to content

Commit

Permalink
Flag unused Refaster template parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Sep 2, 2023
1 parent b9e01a8 commit 499e659
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ public final class UnusedVariable extends BugChecker implements CompilationUnitT
// TODO(ghm): Find a sensible place to dedupe this with UnnecessarilyVisible.
private static final ImmutableSet<String> ANNOTATIONS_INDICATING_PARAMETERS_SHOULD_BE_CHECKED =
ImmutableSet.of(
"com.google.errorprone.refaster.annotation.AfterTemplate",
"com.google.errorprone.refaster.annotation.BeforeTemplate",
"com.google.inject.Inject",
"com.google.inject.Provides",
"com.google.inject.multibindings.ProvidesIntoMap",
Expand Down

0 comments on commit 499e659

Please sign in to comment.