code: public static <T extends Number> SimpleExpression<T> nextval(Class<T> type, String sequence) {
          return Expressions.operation(type, SQLOps.NEXTVAL, ConstantImpl.create(sequence));
      }
docs: Create a nextval(sequence) expression of the given type
  
  <p>Returns the next value from the given sequence</p>
  
  @param type type of call
  @param sequence sequence name
  @return nextval(sequence)