class A { accessor static foo = 1; }