@Override
      public boolean accepts(final @NotNull Collection<T> collection, final ProcessingContext context) {
        return !collection.isEmpty() &&
               elementPattern.accepts(collection.iterator().next(), context);
      }
@Override
      public boolean accepts(final @NotNull Collection<T> collection, final ProcessingContext context)