mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
10 lines
322 B
Java
10 lines
322 B
Java
abstract class TypeToken<T> {
|
|
private <T> TypeToken<T> tt(Class<T> t) { return null; }
|
|
private <T> void checkedTestInexactSupertype(TypeToken<T> expectedSuperclass, TypeToken<? extends T> type) {}
|
|
TypeToken<? super Integer> ft = null;
|
|
|
|
{
|
|
checkedTestInexactSupertype(ft, tt(Integer.class));
|
|
}
|
|
}
|