suggest to fill all the required type arguments at once (IDEA-26763)

This commit is contained in:
peter
2012-03-09 22:30:24 +04:00
parent 979636e035
commit 404d2487f1
7 changed files with 77 additions and 12 deletions
@@ -0,0 +1,5 @@
class HashMap<T,V> {}
public class A {
private HashMap<String, String> m = new HashMap<String, String><caret>();
}
@@ -0,0 +1,5 @@
class HashMap<T,V> {}
public class A {
private HashMap<String, String> m = new HashMap<<caret>>();
}
@@ -0,0 +1,3 @@
class AAAAA<K,V,G>{
AAAAA<K,V,?> asd = new AAAAA<K, <caret>
}
@@ -0,0 +1,3 @@
class AAAAA<K,V,G>{
AAAAA<K,V,?> asd = new AAAAA<<caret>
}
@@ -1,3 +1,3 @@
class AAAAA<K,V>{
AAAAA<K,V> asd = new AAAAA<K, <caret>
AAAAA<K,V> asd = new AAAAA<K, V><caret>
}
@@ -909,9 +909,9 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
doTest();
}
public void testExcessiveTail() throws Exception {
doTest();
}
public void testExcessiveTail() throws Exception { doTest(); }
public void testSeveralTypeArguments() throws Exception { doTest(); }
public void testSeveralTypeArgumentsSomeUnknown() throws Exception { doTest(); }
public void testExtendsInTypeCast() throws Exception {
doTest();