<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 likely run without exceptions, but it's unlikely intended.
New in 2019.2