Searched refs:getTypeArguments (Results 1 – 17 of 17) sorted by relevance
54 return asDeclared(mapType.getTypeArguments().get(1)).getTypeArguments().get(0); in getProvidedValueTypeOfMap()63 return mapType.getTypeArguments().get(1); in getValueTypeOfMap()71 return mapType.getTypeArguments().get(0); in getKeyTypeOfMap()80 && !MoreTypes.isTypeOf(Provider.class, asDeclared(type).getTypeArguments().get(1)); in isMapWithNonProvidedValues()89 && MoreTypes.isTypeOf(Provider.class, asDeclared(type).getTypeArguments().get(1)); in isMapWithProvidedValues()96 && MoreTypes.isTypeOf(Produced.class, MoreTypes.asDeclared(type).getTypeArguments().get(0)); in isSetOfProduced()
142 if (!declaredReturnType.getTypeArguments().isEmpty()) { in validate()144 declaredReturnType.getTypeArguments())); in validate()177 if (declaredType.getTypeArguments().isEmpty()) { in validateSingleReturnType()180 validateKeyType(reportBuilder, Iterables.getOnlyElement(declaredType.getTypeArguments())); in validateSingleReturnType()198 } else if (declaredType.getTypeArguments().isEmpty()) { in validateSetType()203 Iterables.getOnlyElement(declaredType.getTypeArguments())); in validateSetType()
239 qualifier, Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())), in forComponentProductionMethod()263 Iterables.getOnlyElement(((DeclaredType) returnType).getTypeArguments())), in forComponentMembersInjectionMethod()350 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()353 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()356 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()359 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()362 Iterables.getOnlyElement(((DeclaredType) type).getTypeArguments())); in extractKindAndType()
133 for (TypeMirror arg : type.getTypeArguments()) { in isValidImplicitProvisionKey()143 return MoreTypes.asDeclared(element.asType()).getTypeArguments().isEmpty() in isValidImplicitProvisionKey()200 keyType = Iterables.getOnlyElement(MoreTypes.asDeclared(returnType).getTypeArguments());241 Iterables.getOnlyElement(MoreTypes.asDeclared(returnType).getTypeArguments());373 MoreTypes.asDeclared(possibleSetOfProducedKey.type()).getTypeArguments().get(0);375 TypeMirror producedArgType = MoreTypes.asDeclared(argType).getTypeArguments().get(0);
143 } else if (declaredReturnType.getTypeArguments().isEmpty()) { in validate()148 Iterables.getOnlyElement(declaredReturnType.getTypeArguments())); in validate()
191 for (TypeMirror typeArgument : t.getTypeArguments()) { in nonPublicPackageUse()257 return ImmutableList.<TypeMirror>copyOf(t.getTypeArguments()); in hasNonDefaultTypeParameters()
50 Iterator<? extends TypeMirror> argumentIterator = t.getTypeArguments().iterator(); in apply()
67 checkState(t.getTypeArguments().isEmpty()); in validate()
59 MoreTypes.asDeclared(bindingKey.key().type()).getTypeArguments().get(1); in createForMapBindingContribution()
103 if (!enclosingCxtorType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectConstructor()
426 for (TypeMirror arg : type.getTypeArguments()) { in validateMembersInjectionBinding()442 for (TypeMirror arg : t.getTypeArguments()) { in validateMembersInjectionBinding()492 if (!MoreTypes.asDeclared(element.asType()).getTypeArguments().isEmpty() in validateMembersInjectionBinding()
180 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectedType()
241 MoreTypes.asDeclared(keyType).getTypeArguments().get(0)); in write()
169 if (!t.getTypeArguments().isEmpty()) { in validateReferencedModules()
633 && !((DeclaredType) bindingKey.key().type()).getTypeArguments().isEmpty()) { in implementInterfaceMethods()
70 return t.getTypeArguments().isEmpty() in forTypeMirror()74 FluentIterable.from(t.getTypeArguments()).transform(FOR_TYPE_MIRROR)); in forTypeMirror()
490 public TypeArgument[] getTypeArguments() { return arguments; } in getTypeArguments() method in SignatureAttribute.ClassType