diff --git a/check_api/src/main/java/com/google/errorprone/matchers/Matchers.java b/check_api/src/main/java/com/google/errorprone/matchers/Matchers.java index 4d5288965a9..a3844158b2b 100644 --- a/check_api/src/main/java/com/google/errorprone/matchers/Matchers.java +++ b/check_api/src/main/java/com/google/errorprone/matchers/Matchers.java @@ -1354,12 +1354,12 @@ public static boolean isThrowingFunctionalInterface(Type clazzType, VisitorState "org.junit.function.ThrowingRunnable", "org.junit.jupiter.api.function.Executable", "org.assertj.core.api.ThrowableAssert$ThrowingCallable", + "com.google.common.truth.ExpectFailure.AssertionCallback", + "com.google.common.truth.ExpectFailure.DelegatedAssertionCallback", + "com.google.common.truth.ExpectFailure.StandardSubjectBuilderCallback", + "com.google.common.truth.ExpectFailure.SimpleSubjectBuilderCallback", "com.google.devtools.build.lib.testutil.MoreAsserts$ThrowingRunnable", - "com.google.gerrit.testing.GerritJUnit$ThrowingRunnable", - "com.google.truth.ExpectFailure.AssertionCallback", - "com.google.truth.ExpectFailure.DelegatedAssertionCallback", - "com.google.truth.ExpectFailure.StandardSubjectBuilderCallback", - "com.google.truth.ExpectFailure.SimpleSubjectBuilderCallback") + "com.google.gerrit.testing.GerritJUnit$ThrowingRunnable") .map(state::getTypeFromString) .filter(Objects::nonNull) .collect(toImmutableSet()));