private static void addAdditionalAnnotationsMetric(@NotNull Set<MetricEvent> metrics, @NotNull List<String> annotations) {
    if (annotations.isEmpty()) {
      metrics.add(ADDITIONAL_ANNOTATIONS.metric(false, false));
      return;
    }
    int patternsAmount = ContainerUtil.count(annotations, fqn -> fqn.endsWith("*"));
    int fqnAmount = annotations.size() - patternsAmount;
    MetricEvent metric = ADDITIONAL_ANNOTATIONS.metric(fqnAmount > 0, patternsAmount > 0);
    metrics.add(metric);
  }
private static void addAdditionalAnnotationsMetric(@NotNull Set<MetricEvent> metrics, @NotNull List<String> annotations)