}
else if(!"".equals(query.namedQuery())){
q = service.crud().getEntityManager().createNamedQuery(query.namedQuery());
}
QueryParams params = ic.getMethod().getAnnotation(QueryParams.class);
if(params != null){
for (QueryParam queryParam : params.value()) {
this.addParam(queryParam, q);
}
}
QueryParam param = ic.getMethod().getAnnotation(QueryParam.class);