1 2 3 4 5 6 7 8 9 10 11 12
class Test { interface A<T> { void foo(T t); } class B implements A<Inte<caret>ger> { Integer str; public void foo(Integer s) { str = s; } } }