docs: private boolean addClasspathEntry(final String pathEntry, final ClassLoader classLoader,
              final ScanSpec scanSpec) {
          if (scanSpec.overrideClasspath == null //
                  && (SystemJarFinder.getJreLibOrExtJars().contains(pathEntry)
                          || pathEntry.equals(SystemJarFinder.getJreRtJarPath()))) {
              // JRE lib and ext jars are handled separately, so reject them as duplicates if they are 
              // returned by a system classloader
              return false;
          }
          if (classpathEntryUniqueResolvedPaths.add(pathEntry)) {
              order.add(new SimpleEntry<>(pathEntry, classLoader));
              return true;
          }
          return false;
      }