class ClassWithCompanion { companion object { fun foo() { } } } /** * [ClassWithCompanion.foo] */ fun test() { }