static ClasspathLocation forLibrary(String libraryPathname,
long lastModified,
AccessRuleSet accessRuleSet,
IPath annotationsPath,
boolean autoModule,
String compliance) {
return Util.archiveFormat(libraryPathname) == Util.JMOD_FILE ?
new ClasspathJMod(libraryPathname, lastModified, accessRuleSet, annotationsPath) :
(compliance == null || (CompilerOptions.versionToJdkLevel(compliance) < ClassFileConstants.JDK9) ?
new ClasspathJar(libraryPathname, lastModified, accessRuleSet, annotationsPath, autoModule) :
new ClasspathMultiReleaseJar(libraryPathname, lastModified, accessRuleSet, annotationsPath, autoModule, compliance));
}
static ClasspathJrt forJrtSystem(String jrtPath, AccessRuleSet accessRuleSet, IPath annotationsPath, String release) {