package templates; public class Foo { void m(double foo) { java.util.OptionalDouble.of(foo) } }