blob: 13b324df36b542b7e189ce4af522a796783e4396 [file] [log] [blame]
// "Replace lambda with method reference" "true"
import java.util.function.Function;
class Box<T>
{
public Box(T value)
{
this._value = value;
}
private final T _value;
public T getValue()
{
return this._value;
}
{
foo((Box<String> t) -> t.get<caret>Value());
}
<K> void foo(Function<Box<K>, K> f){}
}