blob: 5b3a5fc6b563679556e860f463561c023e85b481 [file] [log] [blame]
// "Replace with lambda" "true"
import java.util.*;
class Test2 {
interface I<X> {
X foo(List<X> list);
}
static <T> I<T> bar(I<T> i){return i;}
{
bar(new I<Stri<caret>ng>() {
@Override
public String foo(List<String> list) {
return null;
}
});
}
}