Examples of TypeDef


Examples of at.bestsolution.efxclipse.tooling.efxbean.fXBean.TypeDef

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetType(TypeDef newType, NotificationChain msgs)
  {
    TypeDef oldType = type;
    type = newType;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXBeanPackage.BEAN_ATTRIBUTE_DECL__TYPE, oldType, newType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

Examples of com.facebook.swift.parser.model.Typedef

        final SwiftJavaType swiftJavaType = new SwiftJavaType(documentContext.getNamespace(),
                                                              TemplateContextGenerator.mangleJavatypeName(type.getName()), javaNamespace);
        if (visitable instanceof Typedef) {
            // Typedef checks must be done before the type is added to the registry. Otherwise it would be possible
            // to have a typedef point at itself.
            final Typedef typedef = Typedef.class.cast(visitable);

            LOG.debug("Checking typedef '{}' as '{}'.", typedef.getType(), typedef.getName());

            final TypeToJavaConverter typeConverter = documentContext.getTypeConverter();

            Preconditions.checkNotNull(typeConverter.convertType(typedef.getType()), "typedef %s uses unknown type %s!", typedef.getName(), typedef.getType().toString());
            documentContext.getTypedefRegistry().add(swiftJavaType, typedef.getType());
        }

        LOG.debug("Registering type '{}'", swiftJavaType);
        documentContext.getTypeRegistry().add(swiftJavaType);
    }
View Full Code Here

Examples of com.google.javascript.jscomp.newtypes.Typedef

      // }
      if (currentScope.isDefined(qnameNode)) {
        return;
      }
      JSDocInfo jsdoc = NodeUtil.getBestJSDocInfo(qnameNode);
      Typedef td = Typedef.make(jsdoc.getTypedefType());
      currentScope.addTypedef(qnameNode, td);
    }
View Full Code Here

Examples of com.thoughtworks.qdox.parser.structs.TypeDef

        if (clazz.isInterface()) {
            // It's an interface
            classDef.type = ClassDef.INTERFACE;
            for (int i = 0; i < interfaces.length; i++) {
                Class anInterface = interfaces[i];
                classDef.extendz.add(new TypeDef(anInterface.getName()));
            }
        } else {
            // It's a class
            for (int i = 0; i < interfaces.length; i++) {
                Class anInterface = interfaces[i];
                classDef.implementz.add(new TypeDef(anInterface.getName()));
            }
            Class superclass = clazz.getSuperclass();
            if (superclass != null) {
                classDef.extendz.add(new TypeDef(superclass.getName()));
            }
        }

        addModifiers(classDef.modifiers, clazz.getModifiers());
View Full Code Here

Examples of org.apache.axis2.corba.idl.types.Typedef

                xmlSchema.getSchemaTypes().add(schemaTypeName, complexType);

                // adding this type to the table
                typeTable.addComplexSchema(name, eltOuter.getQName());
                if (dataType instanceof Typedef) {
                    Typedef typedef = (Typedef) dataType;
                    DataType aliasType = typedef.getDataType();
                    sequence.getItems().add(generateSchemaforFieldsandProperties(xmlSchema, aliasType, "item", false));
                } else {
                    //Set propertiesNames = new HashSet() ;
                    Member[] members = dataType.getMembers();
                    for (int i = 0; i < members.length; i++) {
View Full Code Here

Examples of org.apache.tools.ant.taskdefs.Typedef

        }
        if (checkedNamespaces.contains(uri)) {
            return; // Already processed
        }
        checkedNamespaces.add(uri);
        Typedef definer = new Typedef();
        definer.setProject(project);
        definer.init();
        definer.setURI(uri);
        //there to stop error messages being "null"
        definer.setTaskName(uri);
        //if this is left out, bad things happen. like all build files break
        //on the first element encountered.
        definer.setResource(Definer.makeResourceFromURI(uri));
        // a fishing expedition :- ignore errors if antlib not present
        definer.setOnError(new Typedef.OnError(Typedef.OnError.POLICY_IGNORE));
        definer.execute();
    }
View Full Code Here

Examples of org.apache.tools.ant.taskdefs.Typedef

            // defined in defaults.properties, likely created by the
            // user - without those definitions it cannot parse antlib
            // files as taskdef, typedef and friends are unknown
            initDefaultDefinitions();
        }
        Typedef definer = new Typedef();
        definer.setProject(project);
        definer.init();
        definer.setURI(uri);
        //there to stop error messages being "null"
        definer.setTaskName(uri);
        //if this is left out, bad things happen. like all build files break
        //on the first element encountered.
        definer.setResource(Definer.makeResourceFromURI(uri));
        // a fishing expedition :- ignore errors if antlib not present
        definer.setOnError(new Typedef.OnError(Typedef.OnError.POLICY_IGNORE));
        definer.execute();
    }
View Full Code Here

Examples of org.auraframework.def.TypeDef

                }
            }
            if (stem != null) {
                if (def != null) {
                    ValueProvider vp;
                    TypeDef typeDef = def.getType(part);
                    vp = (ret instanceof ValueProvider) ? (ValueProvider) ret : (ValueProvider) typeDef.wrap(ret);
                    ret = vp.getValue(stem);
                } else {
                    getValue(ret, stem, def);
                }
            }
View Full Code Here

Examples of org.hibernate.annotations.TypeDef

    LOG.debugf( "Binding filter definition: %s", def.getFilterName() );
    mappings.addFilterDefinition( def );
  }

  private static void bindTypeDefs(XAnnotatedElement annotatedElement, Mappings mappings) {
    TypeDef defAnn = annotatedElement.getAnnotation( TypeDef.class );
    TypeDefs defsAnn = annotatedElement.getAnnotation( TypeDefs.class );
    if ( defAnn != null ) {
      bindTypeDef( defAnn, mappings );
    }
    if ( defsAnn != null ) {
View Full Code Here

Examples of org.hibernate.annotations.TypeDef

    log.info( "Binding filter definition: {}", def.getFilterName() );
    mappings.addFilterDefinition( def );
  }

  private static void bindTypeDefs(XAnnotatedElement annotatedElement, ExtendedMappings mappings) {
    TypeDef defAnn = annotatedElement.getAnnotation( TypeDef.class );
    TypeDefs defsAnn = annotatedElement.getAnnotation( TypeDefs.class );
    if ( defAnn != null ) {
      bindTypeDef( defAnn, mappings );
    }
    if ( defsAnn != null ) {
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.