use of com.haulmont.cuba.core.sys.jpql.transform.ParameterCounter in project cuba by cuba-platform.
the class QueryParserAstBased method getParamNames.
@Override
public Set<String> getParamNames() {
TreeVisitor visitor = new TreeVisitor();
ParameterCounter parameterCounter = new ParameterCounter(true);
visitor.visit(getQueryAnalyzer().getTree(), parameterCounter);
return parameterCounter.getParameterNames();
}
Aggregations