@Override
    public StringExpression upper() {
        if (upper == null) {
            upper = new StringConstant(constant.toUpperCase());
        }
        return upper;
    }
StringConstant represents String constants

@author tiwe
querydsl-core/src/test/java/com/querydsl/core/StringConstant.java