// "Replace lambda with method reference" "true-preview" class MyTest2 { MyTest2(X x) { } interface I { MyTest2 m(Z z); } public static void main(String[] args) { I s = MyTest2::new; } }