private Type getQueryType(Map<TypeCategory, Type> types, Type type, EntityType model, boolean raw,
            boolean rawParameters, boolean extend) {
        Type exprType = types.get(type.getCategory());
        return getQueryType(type, model, exprType, 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