Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/util/
DJavaEightUtil.java38 return emptyOptional = invokeNullaryFactoryMethod("java.util.Optional", "empty"); in emptyOptional()
53 … return emptyOptionalDouble = invokeNullaryFactoryMethod("java.util.OptionalDouble", "empty"); in emptyOptionalDouble()
67 return emptyOptionalInt = invokeNullaryFactoryMethod("java.util.OptionalInt", "empty"); in emptyOptionalInt()
81 return emptyOptionalLong = invokeNullaryFactoryMethod("java.util.OptionalLong", "empty"); in emptyOptionalLong()
91 return invokeNullaryFactoryMethod("java.util.stream.Stream", "empty"); in emptyStream()
101 return invokeNullaryFactoryMethod("java.util.stream.DoubleStream", "empty"); in emptyDoubleStream()
111 return invokeNullaryFactoryMethod("java.util.stream.IntStream", "empty"); in emptyIntStream()
121 return invokeNullaryFactoryMethod("java.util.stream.LongStream", "empty"); in emptyLongStream()
131 private static Object invokeNullaryFactoryMethod(final String fqcn, final String methodName) { in invokeNullaryFactoryMethod() method in JavaEightUtil