IDEA-73717 Completion after 'new' and generics

This commit is contained in:
peter
2011-09-02 18:37:54 +02:00
parent 0dbf6b4864
commit c8e59d711c
7 changed files with 33 additions and 3 deletions
@@ -0,0 +1,5 @@
public class Driver {
{
new ArrayLi<caret>
}
}
@@ -0,0 +1,7 @@
import java.util.ArrayList;
public class Driver {
{
new ArrayList<<caret>>()
}
}
@@ -899,6 +899,7 @@ public class NormalCompletionTest extends LightFixtureCompletionTestCase {
public void testMethodSquareBracket() throws Throwable { doTest('[') }
public void testMethodParameterTypeDot() throws Throwable { doAntiTest() }
public void testNewGenericClass() throws Throwable { doTest('\n') }
public void testSuperProtectedMethod() throws Throwable {
myFixture.addClass """package foo;