Examples of resolveType()


Examples of com.facebook.presto.hive.shaded.org.codehaus.jackson.map.type.TypeBindings.resolveType()

        if (_delegateCreator == null) {
            delegateType = null;
        } else {
            TypeBindings bindings = _beanDesc.bindingsForBeanType();
            delegateType = bindings.resolveType(_delegateCreator.getParameterType(0));
        }
       
        inst.configureFromObjectSettings(_defaultConstructor,
                _delegateCreator, delegateType,
                _propertyBasedCreator, _propertyBasedArgs);
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jackson.databind.type.TypeBindings.resolveType()

                        break;
                    }
                }
            }
            TypeBindings bindings = _beanDesc.bindingsForBeanType();
            delegateType = bindings.resolveType(_delegateCreator.getGenericParameterType(ix));
        }
       
        inst.configureFromObjectSettings(_defaultConstructor,
                _delegateCreator, delegateType, _delegateArgs,
                _propertyBasedCreator, _propertyBasedArgs);
View Full Code Here

Examples of com.fasterxml.jackson.databind.type.TypeBindings.resolveType()

                        break;
                    }
                }
            }
            TypeBindings bindings = _beanDesc.bindingsForBeanType();
            delegateType = bindings.resolveType(_delegateCreator.getGenericParameterType(ix));
        }
       
        inst.configureFromObjectSettings(_defaultConstructor,
                _delegateCreator, delegateType, _delegateArgs,
                _propertyBasedCreator, _propertyBasedArgs);
View Full Code Here

Examples of com.google.common.reflect.TypeResolver.resolveType()

         throw new IllegalStateException(exception);
      } catch (InvocationTargetException exception) {
         // should never happen
         throw new IllegalStateException(exception);
      }
      return (TypeToken<T>) TypeToken.of(resolver.resolveType(getType()));
   }

   public <X, Y> TypeToken<T> where(TypeParameter2<X> typeParam1, Class<X> typeArg1,
         TypeParameter2<Y> typeParam2, Class<Y> typeArg2) {
      return where(typeParam1, of(typeArg1), typeParam2, of(typeArg2));
View Full Code Here

Examples of com.thoughtworks.qdox.model.JavaClass.resolveType()

    {
        String comment = "/** @see ConnectException */";
        AbstractInheritableJavaEntity entity = spy( new PrivateAbstractInheritableJavaEntity() );
        JavaClass clazz = mock( JavaClass.class );
        when( entity.getParentClass() ).thenReturn( clazz );
        when( clazz.resolveType( "ConnectException" ) ).thenReturn( "java.net.ConnectException" );
        String newComment =
            (String) PrivateAccessor.invoke( AbstractFixJavadocMojo.class, "replaceLinkTags", new Class[] {
                String.class, AbstractInheritableJavaEntity.class }, new Object[] { comment, entity } );
        assertEquals( "/** @see ConnectException */", newComment );
    }
View Full Code Here

Examples of com.thoughtworks.qdox.model.JavaClassParent.resolveType()

                    classParent = (JavaClass) context;
                }
               
                for( int i = 0; i < parts.length - 1; ++i ) {
                    String className = getNamePrefix( i );
                    String typeName = classParent.resolveType( className );

                    if( typeName != null ) {
                        Type type = Type.createUnresolved( typeName, 0, classParent );
                        JavaClass javaClass = type.getJavaClass();
View Full Code Here

Examples of edu.cmu.cs.crystal.tac.model.Variable.resolveType()

   
    TupleLatticeElement<Variable, AliasLE> entry = ops.getDefault();
    Variable thisVar = this.getAnalysisContext().getThisVariable();
   
    if (thisVar != null)
      entry.put(thisVar, AliasLE.create(new DefaultObjectLabel(thisVar.resolveType(), false)));
   
    return entry;
  }

  private ObjectLabel getLabel(Variable associatedVar, ITypeBinding binding, TACInstruction declaringInstr) {
View Full Code Here

Examples of org.apache.commons.betwixt.registry.PolymorphicReferenceResolver.resolveType()

        try {
            ElementDescriptor currentDescriptor = getCurrentDescriptor();
            if (currentDescriptor != null) {
                if (currentDescriptor.isPolymorphic()) {
                    PolymorphicReferenceResolver resolver = getXMLIntrospector().getPolymorphicReferenceResolver();
                    result = resolver.resolveType(mapping, this);
                    if (result == null) {
                        // try the other polymorphic descriptors
                        ElementDescriptor parent = getParentDescriptor();
                        if (parent != null) {
                            ElementDescriptor[] descriptors = parent.getElementDescriptors();
View Full Code Here

Examples of org.apache.flex.compiler.definitions.IAccessorDefinition.resolveType()

        }

        if( def instanceof IAccessorDefinition )
        {
            IAccessorDefinition accessorDef = (IAccessorDefinition)def;
            ITypeDefinition thisType = accessorDef.resolveType(project);
            IAccessorDefinition other = null;
            if( (other = accessorDef.resolveCorrespondingAccessor(project)) != null)
            {
                ITypeDefinition otherType = other.resolveType(project);
               
View Full Code Here

Examples of org.apache.flex.compiler.definitions.IDefinition.resolveType()

                IDefinition def = resolve(project);
                // Didn't resolve to anything, just return '*'
                if (def == null)
                    type = project.getBuiltinType(IASLanguageConstants.BuiltinType.ANY_TYPE);
                else
                    type = def.resolveType(project);
                break;
            }
               
            case REST:
            {
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.