blob: 0b6a43507ffb33c5dd0d7bc140b0b54fce2c88d2 [file] [log] [blame]
package p;
public class Test<T extends Test<T>> {
/**
* @param <T>
* @param test
* @param t
*/
public static <T extends Test<T>> void foo(Test<T> test, T t) {
test.foo(t);
}
void foo(T t) {
}
void f(T t) {
Test.foo(t, null);
}
}