@Override
    public VisitorConfig getConfig(TypeElement e, List<? extends Element> elements) {
        if (useFields) {
            if (useGetters) {
                return VisitorConfig.ALL;
            } else {
                return VisitorConfig.FIELDS_ONLY;
            }
        } else if (useGetters) {
            return VisitorConfig.METHODS_ONLY;
        } else {
            return VisitorConfig.NONE;
        }
    }
{@code DefaultConfiguration} is a simple implementation of the {@link Configuration} interface.

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