diff --git a/core/src/main/java/com/google/errorprone/matchers/Matchers.java b/core/src/main/java/com/google/errorprone/matchers/Matchers.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/matchers/Matchers.java
+++ b/core/src/main/java/com/google/errorprone/matchers/Matchers.java
@@ -155,7 +155,7 @@ public class Matchers {
 
   @SafeVarargs
   public static <T extends Tree> Matcher<T> anyOf(final Matcher<? super T>... matchers) {
-    return anyOf(Arrays.asList(matchers));
+    return anyOf(Arrays.<Matcher<? super T>>asList(matchers));
   }
 
   /**
Work around a type inference change in javac

The javac compiler's behavior when handling wildcards and "capture" type
variables has been improved for conformance to the language specification. This
improves type checking behavior in certain unusual circumstances. It is also a
source-incompatible change: certain uses of wildcards that have compiled in the
past may fail to compile because of a program's reliance on the javac bug.

RELNOTES: N/A
-------------
Created by MOE: <URL>