Reports suspicious usages of Collection or Iterable in vararg method calls.

For example, in the following method:

<T> boolean contains(T needle, T... haystack) {...}

a call like

if(contains("item", listOfStrings)) {...}

looks suspicious as the list will be wrapped into a single element array. Such code can be successfully compiled and will likely run without exceptions, but it's probably used by mistake.

New in 2019.2