Home
last modified time | relevance | path

Searched refs:emptyOptional (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/
DJavaEightUtil.java18 private static Object emptyOptional; field in JavaEightUtil
32 public static Object emptyOptional() { in emptyOptional() method in JavaEightUtil
34 if (emptyOptional != null) { in emptyOptional()
35 return emptyOptional; in emptyOptional()
38 return emptyOptional = invokeNullaryFactoryMethod("java.util.Optional", "empty"); in emptyOptional()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsEmptyValues.java113 return JavaEightUtil.emptyOptional(); in returnValueFor()