mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java completion: include outer classes into display name and lookup string after new (IDEA-160509)
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
Reference in New Issue
Block a user