prefer T if Class<? extends T> is expected (IDEA-121339)

This commit is contained in:
peter
2014-04-18 22:37:29 +02:00
parent c9609013a4
commit c47713fe17
4 changed files with 42 additions and 7 deletions
@@ -0,0 +1,12 @@
import java.lang.Exception;
public class Foo {
{
foo(X<caret>)
}
void foo(Class<? extends Throwable> c) {}
}
interface XIntf {}
class XClass {}