DefaultType { public static Type toLongFunction(Type innerType) { return SimpleParameterizedType.create(ToLongFunction.class, innerType); } private  DefaultType(); static Type genericType(Type type, Type... typeParameters); static Type genericType(Type type, String... typeParameters); static Type classOf(Type innerType); static Type list(Type innerType); static Type set(Type innerType); static Type map(Type innerTypeA, Type innerTypeB); static Type queue(Type innerType); static Type stack(Type innerType); static Type optional(Type innerType); static Type entry(Type innerTypeA, Type innerTypeB); static Type function(Type innerTypeA, Type innerTypeB); static Type bifunction(Type innerTypeA, Type innerTypeB, Type innerTypeC); static Type intFunction(Type innerType); static Type longFunction(Type innerType); static Type doubleFunction(Type innerType); static Type toIntFunction(Type innerType); static Type toLongFunction(Type innerType); static Type toDoubleFunction(Type innerType); static Type unaryOperator(Type innerType); static Type binaryOperator(Type innerType); static Type predicate(Type innerType); static Type bipredicate(Type innerTypeA, Type innerTypeB); static Type consumer(Type innerType); static Type biconsumer(Type innerTypeA, Type innerTypeB); static Type supplier(Type innerType); static Type stream(Type innerType); static boolean isPrimitive(Type type); static boolean isWrapper(Type type); static Class<?> wrapperFor(Type primitiveType); static Stream<Type> primitiveTypes(); static Stream<Type> wrapperTypes(); static final Type WILDCARD; }
@Test void toLongFunction() { assertSingleParameter(ToLongFunction.class, Integer.class, DefaultType::toLongFunction); }