docs: public static Set<URL> getResources(final String locationPattern) {
  
          final Set<URL> result = new HashSet<URL>();
  
          final String scanRootPath = getRootPath(locationPattern);
          final String subPattern = locationPattern.substring(scanRootPath.length());
          final Set<URL> rootDirResources = getResourcesFromRoot(scanRootPath);
  
          for (final URL rootDirResource : rootDirResources) {
              LOGGER.log(Level.INFO, "RootDirResource [protocol={0}, path={1}]",
                      new Object[]{rootDirResource.getProtocol(), rootDirResource.getPath()});
  
              if (isJarURL(rootDirResource)) {
                  result.addAll(doFindPathMatchingJarResources(rootDirResource, subPattern));
              } else if (rootDirResource.getProtocol().startsWith(URL_PROTOCOL_VFS)) {
                  result.addAll(VfsResourceMatchingDelegate.findMatchingResources(rootDirResource, subPattern));
              } else {
                  result.addAll(doFindPathMatchingFileResources(rootDirResource, subPattern));
              }
          }
  
          return result;
      }