Examples of AnnotationInstance


Examples of org.jboss.jandex.AnnotationInstance

                 EntityBindingContext context) {
    super( name, javaType, accessType, annotations, context );
    this.associationNature = associationType;
    this.ignoreNotFound = ignoreNotFound();

    AnnotationInstance associationAnnotation = JandexHelper.getSingleAnnotation(
        annotations,
        associationType.getAnnotationDotName()
    );

    // using jandex we don't really care which exact type of annotation we are dealing with
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

    return new CompositeAttributeTypeResolver( new AttributeTypeResolverImpl( this ) );
  }

  private boolean ignoreNotFound() {
    NotFoundAction action = NotFoundAction.EXCEPTION;
    AnnotationInstance notFoundAnnotation = JandexHelper.getSingleAnnotation(
        annotations(),
        HibernateDotNames.NOT_FOUND
    );
    if ( notFoundAnnotation != null ) {
      AnnotationValue actionValue = notFoundAnnotation.value( "action" );
      if ( actionValue != null ) {
        action = Enum.valueOf( NotFoundAction.class, actionValue.asEnum() );
      }
    }
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.