code: private void createClassLevelAccumulators(OnDemandStatsProducer<T> producer, Class producerClass) {
          //several @Accumulators in accumulators holder
          Accumulates accAnnotationHolder = AnnotationUtils.findAnnotation(producerClass, Accumulates.class);//(Accumulates) producerClass.getAnnotation(Accumulates.class);
          if (accAnnotationHolder != null) {
              Accumulate[] accAnnotations  = accAnnotationHolder.value();
              for (Accumulate accAnnotation : accAnnotations) {
                  createAccumulator(
                          producer.getProducerId(),
                          accAnnotation,
                          formAccumulatorNameForClass(producer, accAnnotation),
                          "cumulated");
              }
          }
  
          //If there is no @Accumulates annotation but @Accumulate is present
          Accumulate annotation = AnnotationUtils.findAnnotation(producerClass, Accumulate.class);//producerClass.getAnnotation(Accumulate.class);
          createAccumulator(
                  producer.getProducerId(),
                  annotation,
                  formAccumulatorNameForClass(producer, annotation),
                  "cumulated"
          );
      }
docs: Create accumulators for class.
  
  @param producer {@link OnDemandStatsProducer}
  @param producerClass producer class