code: public @NotNull List<Resource> getResources(@NotNull Predicate<Resource> filter) {
      return getResources(filter, (Resource)null);
    }
docs: Get the resources selected in the suffix of the URL
  @param filter optional filter to select only specific resources
  @return a list containing the Resources