class Foo extends Super { public void foo() { } } class Super { public void foo() { } }