code: public List<DetailParam> getParameterWithAnnotation(Class<?> annotation) {
          List<DetailParam> params = new ArrayList<>();
          this.controllers.stream().forEach(cla -> params.addAll(this.getParameterFromClassWithAnnotation(cla, annotation)));
          return params;
  
      }
docs: Gets parameter with annotation.
  
  @param annotation the annotation
  @return the parameter with annotation