docs: private HashSet<Resource> getResources(GeneratorContext context, JClassType userType, FileFilter filter) {
      final String pack = userType.getPackage().getName().replace('.', '/');
  
      HashSet<Resource> resourceList = new HashSet<Resource>();
      for (String path : context.getResourcesOracle().getPathNames()) {
        if (!path.startsWith(pack))
          continue;
        String ext = getExtension(path);
        if (EXTENSION_MAP.containsKey(ext))
          resourceList.add(context.getResourcesOracle().getResource(path));
      }
  
      return resourceList;
    }