class Generics<B> { <A> A mt1(A a, B b){ return mt1(a, a); } } class Test { methode(String s){ return new Generics<String>().mt1(s,s); } }