@Override
    protected void customField(EntityType model, Property field, SerializerConfig config,
                               CodeWriter writer) throws IOException {
        Type queryType = typeMappings.getPathType(field.getType(), model, false);
        if (queryType.getPackageName().startsWith("com.querydsl")) {
            String localRawName = writer.getRawName(field.getType());
            serialize(model, field, queryType, writer, "create" + field.getType().getSimpleName(),
                    writer.getClassConstant(localRawName));
        } else {
            super.customField(model, field, config, writer);
        }
    }
Create a new {@code MetaDataSerializer} instance

@param namingStrategy      naming strategy for table to class and column to property conversion
@param innerClassesForKeys wrap key properties into inner classes (default: false)
@param imports             java user imports
querydsl-sql-codegen/src/main/java/com/querydsl/sql/codegen/MetaDataSerializer.java