code: public void findDuplicateJars() throws IOException, DuplicateJarsException {
          Map<String, List<String>> artifactsToVersion = new HashMap<>();
          Enumeration<URL> manifestURLs = classPathParser.getManifestURLs();
          while (manifestURLs.hasMoreElements()) {
              parseManifestFileFromClassPathEntry(manifestURLs.nextElement(), artifactsToVersion);
          }
          checkForDuplicateJars(artifactsToVersion);
      }
docs: Parses the class path system attribute and the manifest files
  and if there are duplicate jar a DuplicateJarsException is thrown.
  @throws IOException
  @throws DuplicateJarsException