Examples of type()


Examples of org.chromattic.api.annotations.ManyToOne.type()

        if (vi instanceof BeanValueInfo) {
          BeanValueInfo bvi = (BeanValueInfo)vi;

          //
          ManyToOne manyToOneAnn = propertyInfo.getAnnotation(ManyToOne.class);
          RelationshipType type = manyToOneAnn.type();

          //
          if (type == RelationshipType.HIERARCHIC) {
            RelationshipMapping hierarchyMapping = new ManyToOneMapping(bvi.getTypeInfo(), RelationshipType.HIERARCHIC);
            PropertyMapping<RelationshipMapping> manyToOneMapping = new PropertyMapping<RelationshipMapping>(propertyInfo, hierarchyMapping);
View Full Code Here

Examples of org.chromattic.api.annotations.OneToMany.type()

        if (beanElementType instanceof BeanValueInfo) {
          BeanValueInfo bvi = (BeanValueInfo)beanElementType;

          //
          OneToManyMapping mapping;
          RelationshipType type = oneToManyAnn.type();
          if (type == RelationshipType.HIERARCHIC) {
            MappedBy mappedBy = propertyInfo.getAnnotation(MappedBy.class);
            if (mappedBy != null) {
              throw new IllegalStateException();
            }
View Full Code Here

Examples of org.chromium.sdk.internal.v8native.protocol.input.IncomingMessage.type()

    V8NativeProtocolParser parser = V8ProtocolParserAccess.get();

    IncomingMessage response = parser.parseIncomingMessage(json);
    Long l1 = response.seq();
    MessageType type = response.type();
    CommandResponse commandResponse = response.asCommandResponse();
    Long l2 = commandResponse.requestSeq();
    boolean success = commandResponse.success();
    SuccessCommandResponse successResponse = commandResponse.asSuccess();
    Boolean running = successResponse.running();
View Full Code Here

Examples of org.chromium.sdk.internal.wip.protocol.input.debugger.ScopeValue.type()

          public List<JsScope> construct() {
            final List<JsScope> scopes = new ArrayList<JsScope>(scopeDataList.size());

            for (int i = 0; i < scopeDataList.size(); i++) {
              ScopeValue scopeData = scopeDataList.get(i);
              JsScope.Type type = WIP_TO_SDK_SCOPE_TYPE.get(scopeData.type());
              if (type == null) {
                type = JsScope.Type.UNKNOWN;
              }
              scopes.add(createScope(scopeData, type));
            }
View Full Code Here

Examples of org.codehaus.plexus.component.annotations.Component.type()

        component.setImplementation(className);

        component.setVersion(filterEmptyAsNull(anno.version()));

        component.setComponentType(filterEmptyAsNull(anno.type()));

        component.setInstantiationStrategy(filterEmptyAsNull(anno.instantiationStrategy()));

        component.setLifecycleHandler(filterEmptyAsNull(anno.lifecycleHandler()));
View Full Code Here

Examples of org.codehaus.preon.annotation.BoundNumber.type()

        }

        public Class<?> resolveActualType(AnnotatedElement overrides, Class<?> type) {
            if (overrides != null && overrides.isAnnotationPresent(BoundNumber.class)) {
                BoundNumber numericMetadata = overrides.getAnnotation(BoundNumber.class);
                Class<?> typeOverride = numericMetadata.type();
                if (typeOverride != Number.class) {
                    return typeOverride;
                }
            }
            return type;
View Full Code Here

Examples of org.codehaus.preon.annotation.BoundObject.type()

    @SuppressWarnings("unchecked")
    private <T> Codec<T> createCodec(Class<T> type, ResolverContext context,
                                     AnnotatedElement metadata) {
        BoundObject settings = metadata.getAnnotation(BoundObject.class);
        // TODO: Handle type incompatibility
        if (Void.class.equals(settings.type())) {
            if (settings.selectFrom().alternatives().length > 0
                    || settings.selectFrom().defaultType() != Void.class) {
                return (Codec<T>) new SelectFromCodec(type, settings
                        .selectFrom(), context, codecFactory,
                        hideChoices(metadata));
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.type()

          if (childAttributes!= null)
          {
            if (!StringUtils.isEmpty(childAttributes.tagName()))
            {
              parentPath = parentWidget+"_"+childAttributes.tagName();
              if (WidgetCreator.class.isAssignableFrom(childAttributes.type()))
              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
                if (declarativeFactory != null)
                {
                  referenceWidgetsList.put(parentLibrary+"_"+parentPath,
View Full Code Here

Examples of org.cx4a.rsense.parser.TypeAnnotationParser.type()

            in.setLine(lineno);
            TypeAnnotationLexer lex = new TypeAnnotationLexer(in);
            CommonTokenStream tokens = new CommonTokenStream(lex);
            TypeAnnotationParser parser = new TypeAnnotationParser(tokens);
            try {
                return parser.type();
            } catch (RecognitionException e)  {}
        }
        return null;
    }
View Full Code Here

Examples of org.cyclop.model.CqlPart.type()

      Iterator<? extends CqlPart> partIt = currentCompletion.cqlCompletion.minCompletion.iterator();
      while (partIt.hasNext()) {
        CqlPart part = partIt.next();

        String css;
        switch (part.type()) {
        case KEYWORD:
          css = "cq-hint-cqlKeyword";
          break;
        case TABLE:
          css = "cq-hint-cqlTable";
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.