private Type createWithPackage(Type type) {
        String packageName = type.getPackageName();
        String simpleName = prefix + normalizeName(type.getFullName()
                .substring(packageName.length() + 1)) + suffix;
        packageName = (packageName.startsWith("java") ? "ext." : "")
                + packageName + packageSuffix;
        return new SimpleType(type.getCategory(), packageName + "." + simpleName,
                packageName, simpleName, false, false);
    }
{@code QueryTypeFactoryImpl} is the default implementation of the {@link QueryTypeFactory} interface

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