blob: 663e07f1e36819d3e38b28c3e97f9f5dde643778 [file]
import java.util.function.Supplier;
class Test {
void foo() {
if (true) {
Supplier<String> stringSupplier = () -> "Hello, world";
System.out.println(stringSupplier.get());
}
}
}