code: public static Config parseResourcesAnySyntax(Class<?> klass, String resourceBasename,
              ConfigParseOptions options) {
          return ConfigImpl.parseResourcesAnySyntax(klass, resourceBasename,
                  options).toConfig();
      }
docs: Parses classpath resources with a flexible extension. In general, this
  method has the same behavior as
  {@link #parseFileAnySyntax(File,ConfigParseOptions)} but for classpath
  resources instead, as in {@link #parseResources}.
  
  <p>
  There is a thorny problem with this method, which is that
  {@link java.lang.ClassLoader#getResources} must be called separately for
  each possible extension. The implementation ends up with separate lists
  of resources called "basename.conf" and "basename.json" for example. As a
  result, the ideal ordering between two files with different extensions is
  unknown; there is no way to figure out how to merge the two lists in
  classpath order. To keep it simple, the lists are simply concatenated,
  with the same syntax priorities as
  {@link #parseFileAnySyntax(File,ConfigParseOptions) parseFileAnySyntax()}
  - all ".conf" resources are ahead of all ".json" resources which are
  ahead of all ".properties" resources.
  
  @param klass
  class which determines the <code>ClassLoader</code> and the
  package for relative resource names
  @param resourceBasename
  a resource name as in {@link java.lang.Class#getResource},
  with or without extension
  @param options
  parse options (class loader is ignored in favor of the one
  from klass)
  @return the parsed configuration