class A { #foo(arg, ...others) {} static #bar(arg, ...others) {} }