@SuppressWarnings("unchecked")
        public Q otherwise(A constant) {
            if (constant != null) {
                return otherwise(ConstantImpl.create(constant));
            } else {
                return otherwise((Q) NullExpression.DEFAULT);
            }
        }
Cascading typesafe Case builder

@author tiwe

@param <A>
@param <Q>
querydsl-core/src/main/java/com/querydsl/core/types/dsl/CaseBuilder.java