Searched refs:emptyOptional (Results 1 – 2 of 2) sorted by relevance
18 private static Object emptyOptional; field in JavaEightUtil32 public static Object emptyOptional() { in emptyOptional() method in JavaEightUtil34 if (emptyOptional != null) { in emptyOptional()35 return emptyOptional; in emptyOptional()38 return emptyOptional = invokeNullaryFactoryMethod("java.util.Optional", "empty"); in emptyOptional()
113 return JavaEightUtil.emptyOptional(); in returnValueFor()