public Cases<T, Q> then(T then) {
            return then(ConstantImpl.create(then));
        }
Intermediate step

@param <T> Result type
@param <Q> Parent expression type
querydsl-core/src/main/java/com/querydsl/core/types/dsl/CaseForEqBuilder.java