Examples of target()


Examples of org.jboss.jandex.AnnotationInstance.target()

    AnnotationInstance attributeOverrideAnnotation = JandexHelper.getSingleAnnotation(
        classInfo,
        JPADotNames.ATTRIBUTE_OVERRIDE
    );
    if ( attributeOverrideAnnotation != null ) {
      String prefix = createPathPrefix( attributeOverrideAnnotation.target() );
      AttributeOverride override = new AttributeOverride( prefix, attributeOverrideAnnotation );
      attributeOverrideList.put( override.getAttributePath(), override );
    }

    AnnotationInstance attributeOverridesAnnotation = JandexHelper.getSingleAnnotation(
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance.target()

        JPADotNames.ATTRIBUTE_OVERRIDES
    );
    if ( attributeOverridesAnnotation != null ) {
      AnnotationInstance[] annotationInstances = attributeOverridesAnnotation.value().asNestedArray();
      for ( AnnotationInstance annotationInstance : annotationInstances ) {
        String prefix = createPathPrefix( attributeOverridesAnnotation.target() );
        AttributeOverride override = new AttributeOverride( prefix, annotationInstance );
        attributeOverrideList.put( override.getAttributePath(), override );
      }
    }
    return attributeOverrideList;
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance.target()

  protected void process(DotName annName, AnnotationInstance annotationInstance, List<AnnotationInstance> indexedAnnotationInstanceList) {
    AnnotationTarget target = annotationInstance.target();

    for ( Iterator<AnnotationInstance> iter = indexedAnnotationInstanceList.iterator(); iter.hasNext(); ) {
      AnnotationInstance ann = iter.next();
      if ( MockHelper.targetEquals( target, ann.target() ) ) {
        iter.remove();
      }
    }
  }
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance.target()

        case ATTRIBUTE:
          List<AnnotationInstance> indexedAnnotationInstanceList = map.get( entityAnnName );
          Iterator<AnnotationInstance> iter = indexedAnnotationInstanceList.iterator();
          while ( iter.hasNext() ) {
            AnnotationInstance ann = iter.next();
            if ( MockHelper.targetEquals( target, ann.target() ) ) {
              iter.remove();
            }
          }
          break;
      }
View Full Code Here

Examples of org.jboss.resteasy.annotations.Decorator.target()

      if (annotations != null)
      {
         for (Annotation annotation : annotations)
         {
            Decorator decorator = annotation.annotationType().getAnnotation(Decorator.class);
            if (decorator != null && targetClass.isAssignableFrom(decorator.target()))
            {
               meta.put(annotation.annotationType(), annotation);
            }
         }
      }
View Full Code Here

Examples of org.jboss.resteasy.client.jaxrs.ResteasyClient.target()

              .trustStore(resourceMetadata.getTruststore())
              .keyStore(resourceMetadata.getClientKeystore(), resourceMetadata.getClientKeyPassword())
              .build();
      realmConfiguration.setClient(client);
      realmConfiguration.setAuthUrl(UriBuilder.fromUri(authUrl).queryParam("client_id", client_id));
      realmConfiguration.setCodeUrl(client.target(tokenUrl));
   }

   @Override
   public void invoke(Request request, Response response) throws IOException, ServletException
   {
View Full Code Here

Examples of org.jpokemon.battle.turn.Turn.target()

    while (!turnQueue.isEmpty()) {
      Turn turn = turnQueue.remove();

      turn.execute();

      if (!turn.target().leader().awake()) {
        log(turn.target().trainer().id() + "'s " + turn.target().leader().name() + " fainted");
        Turn turnToRemove = currentRoundTurns.get(turn.target().trainer().id());
        boolean turnWasRemoved = turnQueue.remove(turnToRemove);

        if (turn.target().party().awake() == 0) {
View Full Code Here

Examples of org.mapstruct.ap.prism.MappingPrism.target()

        MappingPrism mappingAnnotation = MappingPrism.getInstanceOn( method );
        MappingsPrism mappingsAnnotation = MappingsPrism.getInstanceOn( method );

        if ( mappingAnnotation != null ) {
            if ( !mappings.containsKey( mappingAnnotation.target() ) ) {
                mappings.put( mappingAnnotation.target(), new ArrayList<Mapping>() );
            }
            Mapping mapping = Mapping.fromMappingPrism( mappingAnnotation, method, messager );
            if ( mapping != null ) {
                mappings.get( mappingAnnotation.target() ).add( mapping );
View Full Code Here

Examples of org.nutz.dao.entity.annotation.Many.target()

        Field targetPkFld = lookupPkByReferField(ta, referFld);
        return Link.getLinkForOne(mirror, field, ta.getType(), referFld, targetPkFld);
      }
      Many many = field.getAnnotation(Many.class);
      if (null != many) {
        Mirror<?> ta = Mirror.me(many.target());
        Field pkFld;
        Field targetReferFld;
        if (Strings.isBlank(many.field())) {
          pkFld = null;
          targetReferFld = null;
View Full Code Here

Examples of org.nutz.dao.entity.annotation.ManyMany.target()

                  + "will be taken as @Id ", mm.relation(), mm.from(), mm.to());
        }
        finally {
          Daos.safeClose(stat, rs);
        }
        Mirror<?> ta = Mirror.me(mm.target());
        Field selfPk = mirror.getField(fromName ? Name.class : Id.class);
        Field targetPk = ta.getField(toName ? Name.class : Id.class);
        return Link.getLinkForManyManymirror,
                        field,
                        ta.getType(),
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.