Examples of AnnotationInstance


Examples of org.jboss.jandex.AnnotationInstance

      CoreMessageLogger.class,
      AccessHelper.class.getName()
  );

  static JaxbAccessType getAccessFromDefault(IndexBuilder indexBuilder) {
    AnnotationInstance annotationInstance = JandexHelper.getSingleAnnotation(
        indexBuilder.getAnnotations(),
        PseudoJpaDotNames.DEFAULT_ACCESS
    );
    if ( annotationInstance == null ) {
      return null;
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private AnnotationValue[] nestedMapKeyJoinColumnList(String name, List<JaxbMapKeyJoinColumn> columns, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( columns ) ) {
      AnnotationValue[] values = new AnnotationValue[columns.size()];
      for ( int i = 0; i < columns.size(); i++ ) {
        AnnotationInstance annotationInstance = parserMapKeyJoinColumn( columns.get( i ), null );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  protected AnnotationInstance create(DotName name, AnnotationTarget target, List<AnnotationValue> annotationValueList) {
    return create( name, target, MockHelper.toArray( annotationValueList ) );
  }

  protected AnnotationInstance create(DotName name, AnnotationTarget target, AnnotationValue[] annotationValues) {
    AnnotationInstance annotationInstance = MockHelper.create( name, target, annotationValues );
    push( annotationInstance );
    return annotationInstance;

  }
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  protected void nestedUniqueConstraintList(String name, List<JaxbUniqueConstraint> constraints, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( constraints ) ) {
      AnnotationValue[] values = new AnnotationValue[constraints.size()];
      for ( int i = 0; i < constraints.size(); i++ ) {
        AnnotationInstance annotationInstance = parserUniqueConstraint( constraints.get( i ), null );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private AnnotationValue[] nestedJoinColumnList(String name, List<JaxbJoinColumn> columns, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( columns ) ) {
      AnnotationValue[] values = new AnnotationValue[columns.size()];
      for ( int i = 0; i < columns.size(); i++ ) {
        AnnotationInstance annotationInstance = parserJoinColumn( columns.get( i ), null );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  protected AnnotationValue[] nestedPrimaryKeyJoinColumnList(String name, List<JaxbPrimaryKeyJoinColumn> constraints, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( constraints ) ) {
      AnnotationValue[] values = new AnnotationValue[constraints.size()];
      for ( int i = 0; i < constraints.size(); i++ ) {
        AnnotationInstance annotationInstance = parserPrimaryKeyJoinColumn( constraints.get( i ), null );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private AnnotationInstance parserSqlResultSetMappings(Collection<JaxbSqlResultSetMapping> namedQueries) {
    AnnotationValue[] values = new AnnotationValue[namedQueries.size()];
    int i = 0;
    for ( Iterator<JaxbSqlResultSetMapping> iterator = namedQueries.iterator(); iterator.hasNext(); ) {
      AnnotationInstance annotationInstance = parserSqlResultSetMapping( iterator.next() );
      values[i++] = MockHelper.nestedAnnotationValue(
          "", annotationInstance
      );
    }
    return create(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private void nestedEntityResultList(String name, List<JaxbEntityResult> entityResults, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( entityResults ) ) {
      AnnotationValue[] values = new AnnotationValue[entityResults.size()];
      for ( int i = 0; i < entityResults.size(); i++ ) {
        AnnotationInstance annotationInstance = parserEntityResult( entityResults.get( i ) );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private void nestedColumnResultList(String name, List<JaxbColumnResult> columnResults, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( columnResults ) ) {
      AnnotationValue[] values = new AnnotationValue[columnResults.size()];
      for ( int i = 0; i < columnResults.size(); i++ ) {
        AnnotationInstance annotationInstance = parserColumnResult( columnResults.get( i ) );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance

  private void nestedFieldResultList(String name, List<JaxbFieldResult> fieldResultList, List<AnnotationValue> annotationValueList) {
    if ( MockHelper.isNotEmpty( fieldResultList ) ) {
      AnnotationValue[] values = new AnnotationValue[fieldResultList.size()];
      for ( int i = 0; i < fieldResultList.size(); i++ ) {
        AnnotationInstance annotationInstance = parserFieldResult( fieldResultList.get( i ) );
        values[i] = MockHelper.nestedAnnotationValue(
            "", annotationInstance
        );
      }
      MockHelper.addToCollectionIfNotNull(
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.