diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/UnusedVariable.java b/core/src/main/java/com/google/errorprone/bugpatterns/UnusedVariable.java index 0e8f41a500e..87fa2016355 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/UnusedVariable.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/UnusedVariable.java @@ -140,6 +140,7 @@ public final class UnusedVariable extends BugChecker implements CompilationUnitT */ private static final ImmutableSet EXEMPTING_VARIABLE_ANNOTATIONS = ImmutableSet.of( + "com.fasterxml.jackson.annotation.JsonProperty", "javax.persistence.Basic", "javax.persistence.Column", "javax.persistence.Id",