class Foo { static {} } class A1 { static{ foo; } } class A2 { static { foo; bar; } }