java completion: include outer classes into display name and lookup string after new (IDEA-160509)

This commit is contained in:
peter
2016-09-13 17:55:46 +02:00
parent a764f2765a
commit 4ca9fb5197
8 changed files with 65 additions and 39 deletions
@@ -0,0 +1,15 @@
public class Test {
{
new Foo().method(new Outer.Inner());<caret>
}
static class Outer {
static class Inner implements Intf {}
}
class Foo {
public void method(Intf inner) {}
}
interface Intf {}
}
@@ -0,0 +1,15 @@
public class Test {
{
new Foo().method(new Ou<caret>);
}
static class Outer {
static class Inner implements Intf {}
}
class Foo {
public void method(Intf inner) {}
}
interface Intf {}
}