import java.util.* fun foo(list: ArrayList, p1: ArrayList, p2: ArrayList) { list.removeAll() } // ABSENT: p1 // EXIST: p2