From d99f65c4edc1f3d899e595980f72dd84221c855c Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 1 Apr 2023 15:19:27 +0200 Subject: [PATCH] Doh --- .../errorprone/bugpatterns/AssociativeMethodInvocation.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssociativeMethodInvocation.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssociativeMethodInvocation.java index 5543b404603..84551577533 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssociativeMethodInvocation.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AssociativeMethodInvocation.java @@ -59,6 +59,9 @@ public final class AssociativeMethodInvocation extends BugChecker toType(MethodInvocationTree.class, not(hasArgumentOfType(ITERABLE)))), staticMethod().onClass(Suppliers.typeFromClass(Refaster.class)).named("anyOf")); + /** Instantiates a new {@link AssociativeMethodInvocation} instance. */ + public AssociativeMethodInvocation() {} + @Override public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { for (Matcher matcher : ASSOCIATIVE_OPERATIONS) {