Examples of Targets


Examples of org.bouncycastle2.asn1.x509.Targets

                {
                    boolean found = false;

                    for (int i=0; i<targetss.length; i++)
                    {
                        Targets t = targetss[i];
                        Target[] targets = t.getTargets();
                        for (int j=0; j<targets.length; j++)
                        {
                            if (targetNames.contains(GeneralName.getInstance(targets[j]
                                                       .getTargetName())))
                            {
                                found = true;
                                break;
                            }
                        }
                    }
                    if (!found)
                    {
                        return false;
                    }
                }
                if (!targetGroups.isEmpty())
                {
                    boolean found = false;

                    for (int i=0; i<targetss.length; i++)
                    {
                        Targets t = targetss[i];
                        Target[] targets = t.getTargets();
                        for (int j=0; j<targets.length; j++)
                        {
                            if (targetGroups.contains(GeneralName.getInstance(targets[j]
                                                        .getTargetGroup())))
                            {
View Full Code Here

Examples of org.eclipse.bpel.model.Targets

        if (result == null) result = caseIExtensibilityElement(condition);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.TARGETS: {
        Targets targets = (Targets)theEObject;
        Object result = caseTargets(targets);
        if (result == null) result = caseExtensibleElement(targets);
        if (result == null) result = caseExtensibleElement_1(targets);
        if (result == null) result = caseWSDLElement(targets);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here

Examples of org.eclipse.bpel.model.Targets

  }
 
  protected void addStandardElements(Element activityElement, Activity activity) {
    // NOTE: Mind the order of these elements.
    Node firstChild = activityElement.getFirstChild();
    Targets targets = activity.getTargets();
    if (targets != null) {
      activityElement.insertBefore(targets2XML(targets), firstChild);
    }
    Sources sources = activity.getSources();
    if (sources != null) {
View Full Code Here

Examples of org.eclipse.bpel.model.Targets

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTargets(Targets newTargets, NotificationChain msgs) {
    Targets oldTargets = targets;
    targets = newTargets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.ACTIVITY__TARGETS, oldTargets, newTargets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.eclipse.bpel.model.Targets

  void setFlowActivityLinks(Flow flow, CtMethod<?> flowMethod, Activity activity){
    HashMap<String,Link> linkMap = new HashMap<String,Link>();
    FlowActivity flowActivity = flowMethod.getAnnotation(FlowActivity.class);
    if (flowActivity != null){
      if (flowActivity.targets().length > 0){
        Targets targets = BPELFactory.eINSTANCE.createTargets();
        activity.setTargets(targets);
        for(int i=0; i < flowActivity.targets().length; i++){
          FlowLinkTarget linkTarget = flowActivity.targets()[i];
          if (!linkTarget.name().equals("")){
            Link link = linkMap.get(linkTarget.name());
            if (link == null){
              link = BPELFactory.eINSTANCE.createLink();
              link.setName(linkTarget.name());
              linkMap.put(linkTarget.name(), link);
              flow.getLinks().getChildren().add(link);
            }           
            Target target = BPELFactory.eINSTANCE.createTarget();
            target.setLink(link);
            target.setActivity(activity)
            targets.getChildren().add(target);
          }
        }       
      }     
      if (flowActivity.sources().length > 0){
        Sources sources = BPELFactory.eINSTANCE.createSources();
View Full Code Here

Examples of org.eclipse.bpel.model.Targets

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @customized
   */
  public void setActivity(Activity newActivity) {
    Targets targets = newActivity.getTargets();
    if (targets == null) {
      targets = BPELFactory.eINSTANCE.createTargets();
      newActivity.setTargets(targets);
    }
    targets.getChildren().add(this);
  }
View Full Code Here

Examples of soot.jimple.toolkits.callgraph.Targets

                        // System.out.println("skipping " + container + ":" +
                        //        s + ": not virtual");
                        continue;
                    }

                    Iterator targets = new Targets(cg.edgesOutOf(s));

                    if (!targets.hasNext()) {
                        continue;
                    }

                    SootMethod target = (SootMethod) targets.next();

                    if (targets.hasNext()) {
                        continue;
                    }

                    // Ok, we have an Interface or VirtualInvoke going to 1.
                    if (!AccessManager.ensureAccess(container, target,
View Full Code Here

Examples of soot.jimple.toolkits.callgraph.Targets

                // If any targets of the invocation have side effects,
                // then they cannot be removed.
                boolean removable = true;

                for (Iterator i = new Targets(callGraph.edgesOutOf(unit)); i
                        .hasNext()
                        && removable;) {
                    SootMethod targetMethod = (SootMethod) i.next();

                    // System.out.println("Checking Target = " + targetMethod);
                    if (analysis.hasSideEffects(targetMethod)) {
                        removable = false;
                    }
View Full Code Here

Examples of workspace.elements.BuildFile.Targets

                {
                    i++;
                    buildFile.setSourceFolder(entry[i]);
                    continue;
                }
                Targets foundTarget = convertTargetFromPrefix(entry[i]);
                if (foundTarget != null)
                {
                    buildFile.setTarget(foundTarget);
                    i++;
                    buildFile.setOutputFileWithPath(entry[i]);
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.