mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 04:21:24 +07:00
disable lambda -> method ref for qualified new expressions (IDEA-183613)
there is no place where qualifier can be added for constructor reference
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Replace lambda with method reference" "false"
|
||||
import java.util.function.*;
|
||||
|
||||
class Outer {
|
||||
private static Outer outer = new Outer();
|
||||
|
||||
private static void test() {
|
||||
Function<String, InstanceClass> supplier = s -> outer.n<caret>ew Inner(s);
|
||||
}
|
||||
|
||||
class Inner {
|
||||
Inner(String s) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user