// "Remove type arguments" "true-preview"
import java.util.List;

class Collectors {
  public static void foo(List<String> list) {}
  {
    foo(Collectors.<Str<caret>ing//c1
        >of());
  }

  public static <E> List<E> of() {
    return null;
  }
}