code: protected void addPackageResources(Package aPackage, Map<String, ClassResource> urlSet, ClassLoader[] classLoaders) {
          String packageName = aPackage.getName();
          String relativePath = getPackageRelativePath(packageName);
          List<URL> resources = getResources(relativePath, classLoaders);
          for (URL resource : resources) {
              String key = getJavaResourceKey(resource);
              urlSet.put(key, new ClassResource(packageName, resource));
          }
      }
docs: -------------------------------------------------------------------------