mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
suggest inner classes from superclas in smart completion
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
public class Zoo2 {
|
||||
static class Handler {}
|
||||
}
|
||||
|
||||
class Zoo3 extends Zoo2 {
|
||||
class MyHandler extends Handler {}
|
||||
}
|
||||
|
||||
class Zoo4 extends Zoo3 {
|
||||
{
|
||||
Handler handler = new MyHandler();<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Zoo2 {
|
||||
static class Handler {}
|
||||
}
|
||||
|
||||
class Zoo3 extends Zoo2 {
|
||||
class MyHandler extends Handler {}
|
||||
}
|
||||
|
||||
class Zoo4 extends Zoo3 {
|
||||
{
|
||||
Handler handler = new M<caret>
|
||||
}
|
||||
}
|
||||
+1
@@ -953,6 +953,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
public void testSiblingOfAStaticallyImportedField() throws Throwable { doTest(); }
|
||||
public void testPrimitiveArrayClassInMethod() throws Throwable { doTest(); }
|
||||
public void testPrimitiveClassInAnno() throws Throwable { doTest(); }
|
||||
public void testNewInnerClassOfSuper() throws Throwable { doTest(); }
|
||||
|
||||
public void testInferFromCall() throws Throwable {
|
||||
doTest();
|
||||
|
||||
Reference in New Issue
Block a user