private static AnnotationProxy getDtoAnnotationAuto(final Class<?> dto)
throws AnnotationMissingException, AnnotationMissingAutobindingException {
final AnnotationProxy ann = AnnotationProxies.getClassAnnotationProxy(dto);
if (!ann.annotationExists()) {
throw new AnnotationMissingException(dto.getCanonicalName());
}
final String[] auto = ann.getValue("value");
if (auto == null || auto.length == 0) {
throw new AnnotationMissingAutobindingException(dto.getCanonicalName());