diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java index 1edbc9f95c..cf0ee74e8e 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/StaticImport.java @@ -66,6 +66,7 @@ public final class StaticImport extends BugChecker implements MemberSelectTreeMa "com.google.errorprone.BugPattern.LinkType", "com.google.errorprone.BugPattern.SeverityLevel", "com.google.errorprone.BugPattern.StandardTags", + "com.google.errorprone.matchers.Matchers", "com.google.errorprone.refaster.ImportPolicy", "com.mongodb.client.model.Accumulators", "com.mongodb.client.model.Aggregates", diff --git a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/util/IsArray.java b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/util/IsArray.java index 79cf1945a0..e3d60e6662 100644 --- a/refaster-support/src/main/java/tech/picnic/errorprone/refaster/util/IsArray.java +++ b/refaster-support/src/main/java/tech/picnic/errorprone/refaster/util/IsArray.java @@ -1,14 +1,15 @@ package tech.picnic.errorprone.refaster.util; +import static com.google.errorprone.matchers.Matchers.isArrayType; + import com.google.errorprone.VisitorState; import com.google.errorprone.matchers.Matcher; -import com.google.errorprone.matchers.Matchers; import com.sun.source.tree.ExpressionTree; /** A matcher of array-typed expressions, for use with Refaster's {@code @Matches} annotation. */ public final class IsArray implements Matcher { private static final long serialVersionUID = 1L; - private static final Matcher DELEGATE = Matchers.isArrayType(); + private static final Matcher DELEGATE = isArrayType(); @Override public boolean matches(ExpressionTree tree, VisitorState state) {