@Override
    public T getConstant() {
        return constant;
    }
Create a new Constant of the given type for the given object

@param type type of the expression
@param constant constant
querydsl-core/src/main/java/com/querydsl/core/types/ConstantImpl.java