Searched refs:componentDefinitionType (Results 1 – 11 of 11) sorted by relevance
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ComponentDescriptor.java | 132 abstract TypeElement componentDefinitionType(); in componentDefinitionType() method in ComponentDescriptor 258 ComponentDescriptor forComponent(TypeElement componentDefinitionType) { 259 Optional<Kind> kind = Kind.forAnnotatedElement(componentDefinitionType); 263 componentDefinitionType); 264 return create(componentDefinitionType, kind.get()); 267 private ComponentDescriptor create(TypeElement componentDefinitionType, Kind kind) { 268 DeclaredType declaredComponentType = MoreTypes.asDeclared(componentDefinitionType.asType()); 270 getAnnotationMirror(componentDefinitionType, kind.annotationType()) 271 .or(getAnnotationMirror(componentDefinitionType, Subcomponent.class)) 274 isComponent(componentDefinitionType) [all …]
|
D | ComponentHierarchyValidator.java | 40 constant(componentDescriptor.componentDefinitionType()))); in validate() 47 ValidationReport.about(componentDescriptor.componentDefinitionType()); in validateSubcomponentMethods() 110 constant(subcomponentDescriptor.componentDefinitionType()))) in validateSubcomponentMethods()
|
D | ComponentGenerator.java | 62 ClassName.fromTypeElement(input.componentDescriptor().componentDefinitionType()); in nameGeneratedType() 69 return ImmutableSet.of(input.componentDescriptor().componentDefinitionType()); in getOriginatingElements() 74 return Optional.of(input.componentDescriptor().componentDefinitionType()); in getElementForErrorReporting()
|
D | ProvisionBinding.java | 213 ProvisionBinding forComponent(TypeElement componentDefinitionType) { in forComponent() argument 214 checkNotNull(componentDefinitionType); in forComponent() 216 keyFactory.forComponent(componentDefinitionType.asType()), in forComponent() 217 componentDefinitionType, in forComponent()
|
D | BindingGraphValidator.java | 147 ValidationReport.about(subject.componentDescriptor().componentDefinitionType()); in Validation() 181 entry.getKey().methodElement(), entry.getValue().componentDefinitionType()); in validateSubgraph() 219 asDeclared(subject.componentDescriptor().componentDefinitionType().asType()); in subgraphFactoryMethodParameters() 521 TypeElement componentType = descriptor.componentDefinitionType(); in validateComponentHierarchy() 582 descriptor.componentDefinitionType(), in validateDependencyScopes() 589 .append(descriptor.componentDefinitionType().getQualifiedName()) in validateDependencyScopes() 594 descriptor.componentDefinitionType(), in validateDependencyScopes() 599 validateScopeHierarchy(descriptor.componentDefinitionType(), in validateDependencyScopes() 600 descriptor.componentDefinitionType(), in validateDependencyScopes() 609 new StringBuilder(descriptor.componentDefinitionType().getQualifiedName()) in validateDependencyScopes() [all …]
|
D | BindingGraph.java | 184 TypeElement componentDefinitionType = componentDescriptor.componentDefinitionType(); 185 explicitBindingsBuilder.add(provisionBindingFactory.forComponent(componentDefinitionType)); 189 getAnnotationMirror(componentDefinitionType, Component.class) 190 .or(getAnnotationMirror(componentDefinitionType, ProductionComponent.class)); 217 componentDescriptor.componentDefinitionType()));
|
D | ConfigurationAnnotations.java | 63 static boolean isComponent(TypeElement componentDefinitionType) { in isComponent() argument 64 return MoreElements.isAnnotationPresent(componentDefinitionType, Component.class) in isComponent() 65 || MoreElements.isAnnotationPresent(componentDefinitionType, ProductionComponent.class); in isComponent()
|
D | MissingBindingSuggestions.java | 45 + graph.componentDescriptor().componentDefinitionType().getQualifiedName()); in forKey()
|
D | SubcomponentWriter.java | 71 return subgraph.componentDescriptor().componentDefinitionType().getSimpleName() + "Impl"; in subcomponentSimpleName() 104 MoreTypes.asDeclared(parent.componentDefinitionType().asType()), in resolvedSubcomponentFactoryMethod()
|
D | ComponentWriter.java | 58 componentWriter.setSupertype(componentDefinitionType()); in createComponentClass()
|
D | AbstractComponentWriter.java | 170 protected final TypeElement componentDefinitionType() { in componentDefinitionType() method in AbstractComponentWriter 171 return graph.componentDescriptor().componentDefinitionType(); in componentDefinitionType() 175 return ClassName.fromTypeElement(componentDefinitionType()); in componentDefinitionTypeName() 590 MoreTypes.asDeclared(componentDefinitionType().asType()), requestElement)); in implementInterfaceMethods()
|