isAssignable (IDEA-97276)

This commit is contained in:
anna
2012-12-12 15:32:40 +01:00
parent f43fc05230
commit b9669b6add
3 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
interface Interf<X extends Interf> {}
class SomeClass {
static <I extends Interf<? super I>> Class<I> someMethod(I i) { return null; }
}