mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-73717 Completion after 'new' and generics
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class Driver {
|
||||
{
|
||||
new ArrayLi<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Driver {
|
||||
{
|
||||
new ArrayList<<caret>>()
|
||||
}
|
||||
}
|
||||
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user