code: public List<DetailParam> getParameterFromClassWithAnnotation(Class<?> baseClass, Class<?> annotationClass) {
          List<DetailParam> params = new ArrayList<>();
          Arrays.stream(baseClass.getDeclaredMethods()).forEach(method -> params.addAll(this.getParameterFromMethodWithAnnotation(baseClass, method, annotationClass)));
          return params;
      }
docs: Gets parameter from class with annotation.
  
  @param baseClass       the base class
  @param annotationClass the annotation class
  @return the parameter from class with annotation