@SuppressWarnings("static-method")
	protected ClassLoader createClassLoader(Iterable<File> jarsAndFolders, ClassLoader parentClassLoader) {
		return new URLClassLoader(Iterables.toArray(Iterables.transform(jarsAndFolders, from -> {
			try {
				final URL url = from.toURI().toURL();
				assert url != null;
				return url;
			} catch (Exception e) {
				throw new RuntimeException(e);
			}
		}), URL.class), parentClassLoader);
	}
@ SuppressWarnings ( "static-method" ) protected ClassLoader createClassLoader ( Iterable < File > jarsAndFolders , ClassLoader parentClassLoader ) { return new URLClassLoader ( Iterables . toArray ( Iterables . transform ( jarsAndFolders , from -> { try { final URL url = from . toURI ( ) . toURL ( ) ; assert url != null ; return url ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } } ) , URL . class ) , parentClassLoader ) ; }
Create the project class loader.

@param jarsAndFolders the project class path.
@param parentClassLoader the parent class loader.
@return the class loader for the project.