code: @VisibleForTesting
      static List<DecoratorAndOrder> collectDecorators(Class<?> clazz, Method method) {
          final List<DecoratorAndOrder> decorators = new ArrayList<>();
  
          // Class-level decorators are applied before method-level decorators.
          collectDecorators(decorators, getAllAnnotations(clazz));
          collectDecorators(decorators, getAllAnnotations(method));
  
          // Sort decorators by "order" attribute values.
          decorators.sort(Comparator.comparing(DecoratorAndOrder::order));
  
          return decorators;
      }
docs: Returns a decorator list which is specified by {@link Decorator} annotations and user-defined
  decorator annotations.