@Override
    public boolean isValidConstructor(ExecutableElement constructor) {
        return constructor.getModifiers().contains(Modifier.PUBLIC)
            && constructor.getAnnotation(QueryProjection.class) != null
            && !constructor.getParameters().isEmpty();
    }
{@code DefaultConfiguration} is a simple implementation of the {@link Configuration} interface.

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