public <T> void addCustomType(Class<T> type, Class<? extends Expression<T>> queryType) {
        module.get(TypeMappings.class).register(new ClassType(type), new ClassType(queryType));
    }
{@code DefaultConfiguration} is a simple implementation of the {@link Configuration} interface.

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