open class A { } trait Z { public val foo: String }