Home
last modified time | relevance | path

Searched refs:asDeclared (Results 1 – 25 of 61) sorted by relevance

123

/external/dagger2/java/dagger/internal/codegen/binding/
DBindingFactory.java20 import static com.google.auto.common.MoreTypes.asDeclared;
129 MoreTypes.asDeclared(constructorElement.getEnclosingElement().asType()); in injectionBinding()
132 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in injectionBinding()
180 DeclaredType factoryType = MoreTypes.asDeclared(factory.asType()); in assistedFactoryBinding()
182 DeclaredType resolved = MoreTypes.asDeclared(resolvedType.get()); in assistedFactoryBinding()
265 types.asMemberOf(MoreTypes.asDeclared(contributedBy.asType()), method)); in setMethodBindingProperties()
412 subcomponentCreatorMethod, asDeclared(component.asType())); in subcomponentCreatorBinding()
550 DeclaredType resolved = asDeclared(resolvedType.get()); in membersInjectionBinding()
574 membersInjectionBinding(asDeclared(typeElement.asType()), Optional.empty())) in membersInjectionBinding()
DAssistedInjectionAnnotations.java21 import static com.google.auto.common.MoreTypes.asDeclared;
99 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), constructor)); in assistedParameterSpecs()
132 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), metadata.factoryMethod())); in assistedFactoryParameterSpecs()
171 DeclaredType factoryType = asDeclared(factory); in create()
175 DeclaredType assistedInjectType = asDeclared(factoryMethodType.getReturnType()); in create()
DKeyFactory.java115 ? getOnlyElement(MoreTypes.asDeclared(returnType).getTypeArguments()) in forProductionComponentMethod()
161 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), method)); in forBindingMethod()
168 returnType = getOnlyElement(MoreTypes.asDeclared(returnType).getTypeArguments()); in forBindingMethod()
/external/dagger2/java/dagger/internal/codegen/base/
DSetType.java85 return MoreTypes.asDeclared(elementType()).getTypeArguments().get(0); in unwrappedElementType()
109 return new AutoValue_SetType(MoreTypes.equivalence().wrap(MoreTypes.asDeclared(type))); in from()
DMapType.java123 return MoreTypes.asDeclared(valueType()).getTypeArguments().get(0); in uncheckedUnwrappedValueType()
147 return new AutoValue_MapType(MoreTypes.equivalence().wrap(MoreTypes.asDeclared(type))); in from()
DRequestKinds.java19 import static com.google.auto.common.MoreTypes.asDeclared;
109 || asDeclared(type).getTypeArguments().isEmpty()) { in getRequestKind()
DKeys.java85 return MoreTypes.asDeclared(element.asType()).getTypeArguments().isEmpty() in isValidImplicitProvisionKey()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DOptionalish.java61 return new Optionalish(MoreTypes.asDeclared(type)); in createIfOptional()
71 DeclaredType declaredType = MoreTypes.asDeclared(type); in isOptional()
DEclipseHack.java94 DeclaredType declared = MoreTypes.asDeclared(enclosing); in getEnclosingType()
113 enclosing = MoreTypes.asDeclared(enclosing).getEnclosingType(); in getEnclosingType()
DBuilderMethodClassifier.java393 DeclaredType builderTypeMirror = MoreTypes.asDeclared(builderType.asType()); in classifyMethodOneArg()
442 typeUtils.asMemberOf(MoreTypes.asDeclared(builderType.asType()), setter)); in getSetterFunction()
487 DeclaredType targetType = MoreTypes.asDeclared(getterToPropertyType.get(valueGetter)); in getConvertingSetterFunction()
621 DeclaredType builderTypeMirror = MoreTypes.asDeclared(builderType.asType()); in builderMethodReturnType()
/external/dagger2/java/dagger/internal/codegen/
DAssistedInjectProcessingStep.java19 import static com.google.auto.common.MoreTypes.asDeclared;
71 asDeclared(closestEnclosingTypeElement(constructor).asType()); in validate()
/external/dagger2/java/dagger/internal/codegen/writing/
DAssistedFactoryBindingExpression.java20 import static com.google.auto.common.MoreTypes.asDeclared;
85 DeclaredType factoryType = asDeclared(binding.key().type()); in anonymousfactoryImpl()
DSimpleMethodBindingExpression.java128 DeclaredType type = MoreTypes.asDeclared(provisionBinding.key().type()); in constructorTypeName()
160 if (!MoreTypes.asDeclared(provisionBinding.key().type()).getTypeArguments().isEmpty()) { in injectMembers()
DMembersInjectorProviderCreationExpression.java48 getOnlyElement(MoreTypes.asDeclared(binding.key().type()).getTypeArguments()); in creationExpression()
/external/dagger2/java/dagger/android/processor/
DDuplicateAndroidInjectorsChecker.java120 MoreTypes.asDeclared(requestedBinding.key().type()).getTypeArguments().get(1); in injectorMapDependencies()
125 TypeMirror providedType = MoreTypes.asDeclared(valueType).getTypeArguments().get(0); in injectorMapDependencies()
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/serializer/impl/
DImmutableMapSerializerExtension.java160 return MoreTypes.asDeclared(type).getTypeArguments().get(0); in getKeyType()
164 return MoreTypes.asDeclared(type).getTypeArguments().get(1); in getValueType()
DOptionalSerializerExtension.java104 return MoreTypes.asDeclared(type).getTypeArguments().get(0); in getContainedType()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerTypes.java105 DeclaredType declaredType = MoreTypes.asDeclared(type); in unwrapTypeOrDefault()
136 List<? extends TypeMirror> typeArguments = MoreTypes.asDeclared(type).getTypeArguments(); in rewrapType()
258 return MoreTypes.asExecutable(asMemberOf(MoreTypes.asDeclared(containerType), element));
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DSubcomponentFactoryMethodValidator.java19 import static com.google.auto.common.MoreTypes.asDeclared;
113 DeclaredType parentType = asDeclared(parent.componentPath().currentComponent().asType()); in subgraphFactoryMethodParameters()
/external/auto/common/src/main/java/com/google/auto/common/
DOverrides.java177 DeclaredType inType = MoreTypes.asDeclared(in.asType()); in isSubsignature()
260 DeclaredType declared = MoreTypes.asDeclared(supertype); in erasedParameterTypes()
409 DeclaredType declaredType = MoreTypes.asDeclared(typeMirror); in asTypeElement()
DSimpleTypeAnnotationValue.java44 MoreTypes.asDeclared(value).getTypeArguments().isEmpty(), in SimpleTypeAnnotationValue()
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/
DTestStringSerializerFactory.java45 DeclaredType declaredType = MoreTypes.asDeclared(typeMirror); in getSerializer()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java156 DeclaredType componentType = MoreTypes.asDeclared(componentElement.asType()); in write()
181 return MethodSpec.overriding(baseMethod, MoreTypes.asDeclared(typeElement.asType()), types) in emptyComponentMethod()
DComponentImplementationBuilder.java20 import static com.google.auto.common.MoreTypes.asDeclared;
293 method, MoreTypes.asDeclared(graph.componentTypeElement().asType()), types); in getMethodSignature()
514 return asDeclared(parent.get().graph.componentTypeElement().asType()); in parentType()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DKey.java82 ? MoreTypes.asDeclared(type).getTypeArguments().get(0) in create()

123