diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/MoreTypesTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/MoreTypesTest.java index 8774bea2356..29b6fed550d 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/MoreTypesTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/util/MoreTypesTest.java @@ -151,7 +151,7 @@ public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState * @implNote The return value of this method should not be assigned to a field, as that would * prevent mutations introduced by Pitest from being killed. */ - private ImmutableSet> getTestTypes() { + private static ImmutableSet> getTestTypes() { return ImmutableSet.of( // Invalid types. type("java.lang.Nonexistent"),