class A { public foo() {} } class B { static static foo() {} } class C { accessor foo() {} }