suggest inner classes from superclas in smart completion

This commit is contained in:
peter
2011-09-14 13:11:29 +02:00
parent 6595d8b6ee
commit 8ea2424104
5 changed files with 36 additions and 8 deletions
@@ -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>
}
}
@@ -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();