import p.* fun foo(): KotlinTrait { return } // EXIST: { lookupString: "object", itemText: "object : KotlinTrait{...}" } // EXIST: { lookupString: "KotlinInheritor1", itemText: "KotlinInheritor1", tailText: "() (p)" } // EXIST: { lookupString: "KotlinInheritor2", itemText: "KotlinInheritor2", tailText: "() (p)" } // ABSENT: KotlinInheritor3 // EXIST: { lookupString: "object", itemText: "object : KotlinInheritor4(){...}" } // ABSENT: KotlinInheritor5 // EXIST: { lookupString: "KotlinInheritor6", itemText: "KotlinInheritor6", tailText: "() (p)" } // EXIST: { lookupString: "JavaInheritor1", itemText: "JavaInheritor1", tailText: "() ()" } // ABSENT: JavaInheritor2