IDEA-148839 Change class signature allows to specify bound type for new type parameters

This commit is contained in:
Dmitry Batkovich
2016-01-28 16:25:50 +03:00
parent d449292b0f
commit 33a671a448
10 changed files with 325 additions and 157 deletions
@@ -0,0 +1,10 @@
import java.util.List;
public class Main {
class B<T extends java.util.Collection> {}
public void someMethod() {
B<List> b = new B<List>();
}
}