private void serializeModifiers(@Nullable Long limit, @Nullable Long offset) {
        append(RANGE);
        if (offset != null) {
            append(String.valueOf(offset));
            if (limit != null) {
                append(COMMA);
                append(String.valueOf(offset + limit));
            }
        } else {
            append("0, ").append(String.valueOf(limit));
        }
    }
{@code JDOQLSerializer} serializes Querydsl queries and expressions into JDOQL strings

@author tiwe
querydsl-jdo/src/main/java/com/querydsl/jdo/JDOQLSerializer.java