suggest primitive types in generics (IDEA-92940)

This commit is contained in:
peter
2012-10-15 17:14:26 +02:00
parent 0b2251c6f8
commit 18a6cf6a1b
4 changed files with 27 additions and 3 deletions
@@ -0,0 +1,7 @@
import java.lang.Object;
public class Util {
int goo() {
Pair<Object, <caret>>
}
}
@@ -0,0 +1,7 @@
import java.lang.Object;
public class Util {
int goo() {
Pair<Object, <caret>
}
}
@@ -110,6 +110,8 @@ public class KeywordCompletionTest extends LightCompletionTestCase {
public void testIntInClassArray() throws Throwable { doTest(2, "int", "char", "final"); }
public void testIntInClassArray2() throws Throwable { doTest(2, "int", "char", "final"); }
public void testIntInClassArray3() throws Throwable { doTest(2, "int", "char", "final"); }
public void testIntInGenerics() throws Throwable { doTest(2, "int", "char", "final"); }
public void testIntInGenerics2() throws Throwable { doTest(2, "int", "char", "final"); }
public void testTryInExpression() throws Exception {
configureByFile(BASE_PATH + "/" + getTestName(true) + ".java");