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