void (final Stream<Class<String>> classStream) { final Class<?>[] classes = classStream.toArray(((<warning descr="Casting '(value) -> {...}' to 'IntFunction<Class<?>[]>' is redundant">IntFunction<Class<?>[]></warning>) (value) -> new Class<?>[value]) ); }