@Override
    public SerializerConfig getSerializerConfig(EntityType entityType) {
        if (typeToConfig.containsKey(entityType.getFullName())) {
            return typeToConfig.get(entityType.getFullName());
        } else {
            return packageToConfig.getOrDefault(entityType.getPackageName(), defaultSerializerConfig);
        }
    }
{@code DefaultConfiguration} is a simple implementation of the {@link Configuration} interface.

@author tiwe
querydsl-apt/src/main/java/com/querydsl/apt/DefaultConfiguration.java