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