if (lib.exists() && lib.isFile()) { LibraryLocation libraryLocation = new LibraryLocation(path, getDefaultSystemLibrarySource(lib), getDefaultPackageRootPath(), url);
File lib = path.toFile(); if (lib.exists() && lib.isFile()) { sourceRootPath = getDefaultSystemLibrarySource(lib); // To attach source if available } else { path = new Path(installLocation.getAbsolutePath()).append(SRC_ZIP); lib = path.toFile(); if (lib.exists() && lib.isFile()) { sourceRootPath = getDefaultSystemLibrarySource(lib); // To attach source if available if (lib.exists() && lib.isFile()) { LibraryLocation libraryLocation = new LibraryLocation(path, getDefaultSystemLibrarySource(lib), getDefaultPackageRootPath(), url);