abstract class A { abstract void foo(); void bar(A x){ x.<String[]>foo(); } }