code: public static Set<String> scanClassPathWithExcludes(final String classPath, final Set<String> excludeJarSet, final Set<String> excludePrefixes) {
          final Set<String> pathSet = new HashSet<String>();
          // Defer to JDKPaths to do the actual classpath scanning.
          __JDKPaths.processClassPathItem(classPath, excludeJarSet, pathSet);
  
          return filterPathSet(pathSet, excludePrefixes, Collections.<String>emptySet());
      }
docs: Scan the classpath string provided, and collect a set of package paths found in jars and classes on the path,
  excluding any that match a set of exclude prefixes.
  
  @param classPath the classpath string
  @param excludeJarSet a set of jars to exclude from scanning
  @param excludePrefixes a set of path prefixes that determine what is excluded
  @return the results of the scan, as a set of package paths (separated by '/').