use of org.mapleir.app.service.LibraryClassSource in project maple-ir by LLVM-but-worse.
the class Boot method rt.
private static LibraryClassSource rt(ApplicationClassSource app, File rtjar) throws IOException {
section("Loading rt.jar from " + rtjar.getAbsolutePath());
SingleJarDownloader<ClassNode> dl = new SingleJarDownloader<>(new JarInfo(rtjar));
dl.download();
return new LibraryClassSource(app, dl.getJarContents().getClassContents());
}
Aggregations