void () { doTest("import java.util.Optional;" + "import java.util.function.Function;" + "class X {" + " " + "Function<Optional<Long>, Long> homebrewOrElseNull = input-> input.isPresent() ? input.get() : null;" + "}"); }