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

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