interface I : () -> Unit fun xfoo(p: () -> Unit){} val global: () -> Unit = { } fun X.test(p1: () -> Unit, p2: () -> String, p3: I) { val local: () -> Unit = { } xfoo } interface X { public val publicVal: () -> Unit protected val protectedVal: () -> Unit } val X.extension: () -> Unit get() = {} val String.wrongExtension: () -> Unit get() = {} // EXIST: { itemText: "xfoo", tailText: " {...} (p: () -> Unit) ()", typeText:"Unit" } // EXIST: { itemText: "xfoo", tailText: "(p1) ()", typeText: "Unit" } // EXIST: { itemText: "xfoo", tailText: "(p3) ()", typeText: "Unit" } // EXIST: { itemText: "xfoo", tailText: "(local) ()", typeText: "Unit" } // EXIST: { itemText: "xfoo", tailText: "(global) ()", typeText: "Unit" } // EXIST: { itemText: "xfoo", tailText: "(publicVal) ()", typeText: "Unit" } // excluded by performance reasons: // ABSENT: { itemText: "xfoo", tailText: "(extension) ()", typeText: "Unit" } // NOTHING_ELSE