class X { companion object { fun String.f(): X = X() fun g(): X = X() } } fun foo(): X { return } // ABSENT: f // EXIST: { lookupString:"g", itemText:"X.g", tailText:"() ()" }