ClassLoader (@NotNull File... files) { try { List<URL> urls = new ArrayList<>(2); for (File file : files) { urls.add(file.toURI().toURL()); } return new URLClassLoader(urls.toArray(new URL[0]), null); } catch (MalformedURLException e) { throw ExceptionUtilsKt.rethrow(e); } }