public LambdaFactoryConfiguration withImports(Class<?>... newImports) {
        String[] stringImports = Arrays.stream(newImports).map(Class::getCanonicalName).toArray(String[]::new);
        return withImports(stringImports);
    }
public LambdaFactoryConfiguration withImports ( Class < ? > ... newImports ) { String [ ] stringImports = Arrays . stream ( newImports ) . map ( Class :: getCanonicalName ) . toArray ( String [ ] :: new ) ; return withImports ( stringImports ) ; }
Adds imports that will be visible in the lambda code. To add an import with * wildcard
please use{@link #withImports(String...)}.