class Foo { fun bar() {} } fun baz() { Foo :: bar }