class B extends A { @Override public void foo(L l) { } }