Examples of JvmParameterizedTypeReference


Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

        StringConcatenation _builder = new StringConcatenation();
        String _defaultInstanceName = this._util.defaultInstanceName(testCase);
        _builder.append(_defaultInstanceName, "");
        _builder.append(" = new ");
        appendable.append(_builder);
        JvmParameterizedTypeReference _defaultInstanceType = this._util.defaultInstanceType(testCase);
        this._typeReferenceSerializer.serialize(_defaultInstanceType, testCase, appendable);
        ITreeAppendable _append = appendable.append("();");
        ITreeAppendable _newLine = _append.newLine();
        _xblockexpression = (_newLine);
      }
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

    }
    this._generateTransitionActionsEffect(((TransitionEffect) effect), transition, appendable);
    TransitionEffect _effect_1 = transition.getEffect();
    if ((_effect_1 instanceof TransitionExceptionEffect)) {
      TransitionEffect _effect_2 = transition.getEffect();
      final JvmParameterizedTypeReference exceptionClass = ((TransitionExceptionEffect) _effect_2).getExceptionClass();
      String _qualifiedName = exceptionClass.getQualifiedName();
      final String exceptionClassName = this._util.removeJavaLang(_qualifiedName);
      StringConcatenation _builder = new StringConcatenation();
      _builder.append(exceptionClassName, "");
      _builder.append(" should be thrown after ");
      EList<TransitionAction> _actions = transition.getActions();
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetSuperType(JvmParameterizedTypeReference newSuperType, NotificationChain msgs)
  {
    JvmParameterizedTypeReference oldSuperType = superType;
    superType = newSuperType;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXBeanPackage.BEAN__SUPER_TYPE, oldSuperType, newSuperType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

    private ConstValueProperty createConstValueProperty(String localName,
        Attributes attributes) {
      ConstValueProperty c = FXGraphFactory.eINSTANCE
          .createConstValueProperty();
      c.setField(attributes.getValue("fx:constant"));
      JvmParameterizedTypeReference constType = createJvmParameterizedTypeReference(localName);
      c.setType(constType);
      return c;
    }
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

            }
          }
        } else if ("fx:factory".equals(qName)) {
          element.setFactory(value);
        } else if ("fx:controller".equals(qName)) {
          JvmParameterizedTypeReference c = createJvmParameterizedTypeReference(value);
          model.getComponentDef().setController(c);
        } else if ("fx:id".equals(qName)) {
          element.setName(value);
          elements.put(value, element);
        } else {
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

     * @param simpleName
     * @return
     */
    private Element createElementWithJVMType(String simpleName) {
      Element refElement = FXGraphFactory.eINSTANCE.createElement();
      JvmParameterizedTypeReference type = createJvmParameterizedTypeReference(simpleName);
      refElement.setType(type);
      return refElement;
    }
View Full Code Here

Examples of org.eclipse.xtext.common.types.JvmParameterizedTypeReference

     * @param simpleName
     * @return
     */
    private JvmParameterizedTypeReference createJvmParameterizedTypeReference(
        String simpleName) {
      JvmParameterizedTypeReference type = TypesFactory.eINSTANCE
          .createJvmParameterizedTypeReference();
      JvmPrimitiveType jvmType = TypesFactory.eINSTANCE
          .createJvmPrimitiveType();
      jvmType.setSimpleName(simpleName);
      type.setType(jvmType);
      return type;
    }
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.