parameter(paramClass, name) - JPA CriteriaBuilder's method

Method
javax.persistence.criteria.CriteriaBuilder
ParameterExpression<T> parameter(
  Class<T> paramClass,
  String name
)

Create a parameter expression with the given name.
Parameters:
paramClass - parameter class
name - name that can be used to refer to the parameter
Returns:
parameter expression
Since:
JPA 2.0