private List<Map<String,Object>> typeParameters(List<TypeParameter> tpl,Declaration from){
  if (tpl != null && !tpl.isEmpty()) {
    List<Map<String,Object>> l=new ArrayList<>(tpl.size());
    for (    TypeParameter tp : tpl) {
      l.add(typeParameterMap(tp,from));
    }
    return l;
  }
  return null;
}

private List < Map < String , Object > > typeParameters ( List < TypeParameter > tpl , Declaration from ) { if ( tpl != null && ! tpl . isEmpty ( ) ) { List < Map < String , Object > > l = new ArrayList < > ( tpl . size ( ) ) ; for ( TypeParameter tp : tpl ) { l . add ( typeParameterMap ( tp , from ) ) ; } return l ; } return null ; }
create a list of maps from the list of type parameters .
