code: private void createClassLevelAccumulators(final OnDemandStatsProducer<S> producer, final Class producerClass) {
  
  		//several @AccumulateWithSubClasses in accumulators holder
  		final AccumulatesWithSubClasses accWSCAnnotationHolder = AnnotationUtils.findAnnotation(producerClass, AccumulatesWithSubClasses.class);
  		if (accWSCAnnotationHolder != null) {
  			createAccumulators(producer, producerClass, accWSCAnnotationHolder.value());
  		}
  
  		//If there is no @AccumulatesWithSubClasses annotation but @Accumulate is present
  		final AccumulateWithSubClasses accumulateWSC = AnnotationUtils.findAnnotation(producerClass, AccumulateWithSubClasses.class);
  		createAccumulators(producer, producerClass, accumulateWSC);
  
  		//several @Accumulate in accumulators holder
  		final Accumulates accAnnotationHolder = AnnotationUtils.findAnnotation(producerClass, Accumulates.class);
  		if (accAnnotationHolder != null) {
  			createAccumulators(producer, null, accAnnotationHolder.value());
  		}
  
  		//If there is no @Accumulates annotation but @Accumulate is present
  		final Accumulate annotation = AnnotationUtils.findAnnotation(producerClass, Accumulate.class);
  		createAccumulators(producer, null, annotation);
  	}
docs: Create accumulators for class.
  
  @param producer
  {@link OnDemandStatsProducer}
  @param producerClass
  producer class