code: protected void addMetadataFiltersToMetadataResolver(final AbstractMetadataResolver metadataProvider, final MetadataFilter... metadataFilterList) {
          addMetadataFiltersToMetadataResolver(metadataProvider, Arrays.stream(metadataFilterList).collect(Collectors.toList()));
      }
docs: Add metadata filters to metadata resolver.
  
  @param metadataProvider   the metadata provider
  @param metadataFilterList the metadata filter list