Home
last modified time | relevance | path

Searched refs:getTypeArguments (Results 1 – 17 of 17) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DUtil.java54 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()
DProducesMethodValidator.java142 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()
DDependencyRequest.java239 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()
DKey.java133 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);
DProvidesMethodValidator.java143 } else if (declaredReturnType.getTypeArguments().isEmpty()) { in validate()
148 Iterables.getOnlyElement(declaredReturnType.getTypeArguments())); in validate()
DBinding.java191 for (TypeMirror typeArgument : t.getTypeArguments()) { in nonPublicPackageUse()
257 return ImmutableList.<TypeMirror>copyOf(t.getTypeArguments()); in hasNonDefaultTypeParameters()
DKeyVariableNamer.java50 Iterator<? extends TypeMirror> argumentIterator = t.getTypeArguments().iterator(); in apply()
DProductionComponentValidator.java67 checkState(t.getTypeArguments().isEmpty()); in validate()
DFrameworkField.java59 MoreTypes.asDeclared(bindingKey.key().type()).getTypeArguments().get(1); in createForMapBindingContribution()
DProvisionBinding.java103 if (!enclosingCxtorType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectConstructor()
DBindingGraphValidator.java426 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()
DMembersInjectionBinding.java180 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectedType()
DFactoryGenerator.java241 MoreTypes.asDeclared(keyType).getTypeArguments().get(0)); in write()
DModuleValidator.java169 if (!t.getTypeArguments().isEmpty()) { in validateReferencedModules()
DAbstractComponentWriter.java633 && !((DeclaredType) bindingKey.key().type()).getTypeArguments().isEmpty()) { in implementInterfaceMethods()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeNames.java70 return t.getTypeArguments().isEmpty() in forTypeMirror()
74 FluentIterable.from(t.getTypeArguments()).transform(FOR_TYPE_MIRROR)); in forTypeMirror()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java490 public TypeArgument[] getTypeArguments() { return arguments; } in getTypeArguments() method in SignatureAttribute.ClassType