mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
16 lines
301 B
Java
16 lines
301 B
Java
// "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) { }
|
|
}
|
|
}
|
|
|