mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
method refs: shorten class names in qualifiers supported (IDEA-92724)
This commit is contained in:
@@ -8,6 +8,6 @@ class NonStaticInner {
|
||||
Inner m(NonStaticInner rec);
|
||||
}
|
||||
static {
|
||||
I1 i1 = NonStaticInner.Inner::new;
|
||||
I1 i1 = Inner::new;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@ class StaticInner {
|
||||
|
||||
|
||||
static {
|
||||
I1 i1 = StaticInner.Inner::new;
|
||||
I1 i1 = Inner::new;
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ class NonStaticInner3 {
|
||||
}
|
||||
|
||||
{
|
||||
I1<Foo> b1 = NonStaticInner3.Foo::new;
|
||||
I1<Foo> b1 = Foo::new;
|
||||
I2<Foo> b2 = () -> new Foo();
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ class NonStaticInner3 {
|
||||
|
||||
{
|
||||
I1<Foo> b1 = (i) -> new Foo(i);
|
||||
I2<Foo> b2 = NonStaticInner3.Foo::new;
|
||||
I2<Foo> b2 = Foo::new;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ class NonStaticInner3 {
|
||||
}
|
||||
|
||||
{
|
||||
I3<Foo> b1 = NonStaticInner3.Foo::new;
|
||||
I3<Foo> b1 = Foo::new;
|
||||
I4<Foo> b2 = (rec) -> rec.new Foo();
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,6 @@ class NonStaticInner3 {
|
||||
|
||||
{
|
||||
I3<Foo> b1 = (rec, i) -> rec.new Foo(i);
|
||||
I4<Foo> b2 = NonStaticInner3.Foo::new;
|
||||
I4<Foo> b2 = Foo::new;
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,6 @@ class NonStaticInner3 {
|
||||
}
|
||||
|
||||
{
|
||||
I1<Foo> b2 = NonStaticInner3.Foo::new;
|
||||
I1<Foo> b2 = Foo::new;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user