class Foo { @property Socket socket() { return this.socket; } }