/** * Create a new AnnotationsJarBuilder * * @param jarFile JAR file to read * @param classLoader Class loader to resolve types */ public JarReader(File jarFile, ClassLoader classLoader) { this.classLoader = classLoader; try { openJarFile(jarFile); } catch (IOException e) { throw new RuntimeException("Cannot create annotations JAR builder", e); } }
/** * Create a new AnnotationsJarBuilder * * @param jarFile JAR file to read * @param classLoader Class loader to resolve types */ public JarReader(File jarFile, ClassLoader classLoader) { this.classLoader = classLoader; try { openJarFile(jarFile); } catch (IOException e) { throw new RuntimeException("Cannot create annotations JAR builder", e); } }