Examples of annotationExists()


Examples of com.inspiresoftware.lib.dto.geda.assembler.annotations.AnnotationProxy.annotationExists()

        return new DTOtoEntitiesAssemblerDecoratorImpl(dto, entities, classLoader, new MethodSynthesizerProxy(classLoader, synthesizer), registry);
  }

    private static AnnotationProxy getDtoAnnotation(final Class<?> dto) {
        final AnnotationProxy ann = AnnotationProxies.getClassAnnotationProxy(dto);
        if (ann.annotationExists()) {
            return ann;
        }
        throw new AnnotationMissingException(dto.getCanonicalName());
    }
View Full Code Here

Examples of com.inspiresoftware.lib.dto.geda.assembler.annotations.AnnotationProxy.annotationExists()


    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());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.