public Type getExprType(Type type, EntityType model, boolean raw, boolean rawParameters, boolean extend) {
        if (genericQueryTypes.containsKey(type)) {
            return genericQueryTypes.get(type);
        } else if (queryTypes.containsKey(type.getFullName())) {
            return queryTypes.get(type.getFullName());
        } else {
            return getQueryType(exprTypes, type, model, raw, rawParameters, extend);
        }
    }
{@code TypeMappings} defines mappings from Java types to {@link Expression}, {@link Path} and
{@link TemplateExpression} types

@author tiwe
querydsl-codegen/src/main/java/com/querydsl/codegen/TypeMappings.java