Consider the following:
class A {
def getAttribute(String name) {
"attribute $name"
}
def getProperty(String name) {
"property $name"
}
def propertyMissing(name) {
"missing $name"
}
def get(String name) {
"general $name"
}
void test() {
this.@xyz
this.xyz
}
}
class C {
int xyz
void test() {
new A().with {
xyz
}
}
}
Since A implements general attribute/property access mechanisms, the references "xyz" should indicate a declaring class of A.

Consider the following:
Since
Aimplements general attribute/property access mechanisms, the references "xyz" should indicate a declaring class ofA.