package test class Test { fun foo() {} } class Bar val bar = test.Test::foo