void (Collection<String> c) { String result = c.stream().collect(() -> "", String::concat, String::concat); if (<warning descr="Condition 'result.isEmpty()' is always 'true'">result.isEmpty()</warning>) { } }