class C { static get foo() {} // OK static set foo(v) {} // OK get bar() {} // OK set bar(v) {} // OK }