blob: fbf4a449e44299c9b5874341badd48736c63b456 [file] [log] [blame]
// "Replace lambda with method reference" "true"
class MyTest2<X> {
MyTest2(X x) {
}
interface I<Z> {
MyTest2<Z> m(Z z);
}
public static void main(String[] args) {
I<String> s = (z) -> new MyTe<caret>st2<String>(z);
}
}