Iterable is used as vararg
Reports suspicious usages of
Iterable in vararg method calls.
For example, in the following method:
a call like
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
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3