Home
last modified time | relevance | path

Searched refs:componentAnnotation (Results 1 – 11 of 11) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DComponentCreatorAnnotation.java50 private final Class<? extends Annotation> componentAnnotation; field in ComponentCreatorAnnotation
56 this.componentAnnotation = (Class<? extends Annotation>) annotation.getEnclosingClass(); in ComponentCreatorAnnotation()
65 public final Class<? extends Annotation> componentAnnotation() { in componentAnnotation() method in ComponentCreatorAnnotation
66 return componentAnnotation; in componentAnnotation()
71 return componentAnnotation().getSimpleName().endsWith("Subcomponent"); in isSubcomponentCreatorAnnotation()
78 return componentAnnotation().getSimpleName().startsWith("Production"); in isProductionCreatorAnnotation()
126 ComponentAnnotation componentAnnotation) { in creatorAnnotationsFor() argument
131 .componentAnnotation() in creatorAnnotationsFor()
133 .equals(componentAnnotation.simpleName())) in creatorAnnotationsFor()
DComponentDescriptorFactory.java118 TypeElement typeElement, ComponentAnnotation componentAnnotation) { in create() argument
120 componentAnnotation.dependencyTypes().stream() in create()
139 componentAnnotation.isRealComponent() in create()
140 ? componentAnnotation.modules() in create()
160 if (componentAnnotation.isRealComponent()) { in create()
165 getDescriptorForComponentMethod(typeElement, componentAnnotation, componentMethod); in create()
184 creatorAnnotationsFor(componentAnnotation).stream() in create()
197 if (componentAnnotation.isProduction()) { in create()
202 componentAnnotation, in create()
217 ComponentAnnotation componentAnnotation, in getDescriptorForComponentMethod() argument
[all …]
DErrorMessages.java54 public static ComponentMessages componentMessagesFor(ComponentAnnotation componentAnnotation) { in componentMessagesFor() argument
56 transformation(componentAnnotation.isProduction(), componentAnnotation.isSubcomponent())); in componentMessagesFor()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentGenerator.java58 private final ClassName componentAnnotation; field in ComponentGenerator
70 ClassName componentAnnotation, in ComponentGenerator() argument
80 this.componentAnnotation = componentAnnotation; in ComponentGenerator()
107 AnnotationSpec.Builder builder = AnnotationSpec.builder(componentAnnotation); in getComponentAnnotation()
/external/dagger2/java/dagger/internal/codegen/validation/
DBindsInstanceMethodValidator.java65 componentAnnotation -> in checkAdditionalProperties()
70 componentAnnotation.simpleName()))); in checkAdditionalProperties()
DComponentDescriptorValidator.java188 componentAnnotation -> { in validateComponentDependencyHierarchy()
191 for (TypeElement nextDependency : componentAnnotation.dependencies()) { in validateComponentDependencyHierarchy()
440 .filter(componentAnnotation -> !componentAnnotation.isProduction()) in validateDependencyScopeHierarchy()
442 componentAnnotation -> { in validateDependencyScopeHierarchy()
444 scopedTypesIn(componentAnnotation.dependencies()); in validateDependencyScopeHierarchy()
DComponentValidator.java164 private ComponentAnnotation componentAnnotation() { in componentAnnotation() method in ComponentValidator.ElementValidator
221 creatorAnnotationsFor(componentAnnotation()).stream() in validateCreators()
311 componentAnnotation().isProduction() in subcomponentCreatorAnnotation()
322 ComponentAnnotation.componentAnnotation(subcomponentAnnotation).modules(); in validateSubcomponentFactoryMethod()
470 for (TypeMirror type : componentAnnotation().dependencyTypes()) { in validateComponentDependencies()
479 componentAnnotation().annotation(), in validateReferencedModules()
DComponentCreatorValidator.java135 if (!isAnnotationPresent(component, annotation.componentAnnotation())) { in validate()
DModuleValidator.java27 import static dagger.internal.codegen.base.ComponentAnnotation.componentAnnotation;
474 return componentAnnotation(annotation).moduleValues(); in getModules()
/external/dagger2/java/dagger/internal/codegen/base/
DComponentAnnotation.java157 return getAnyAnnotation(typeElement, annotations).map(ComponentAnnotation::componentAnnotation); in anyComponentAnnotation()
167 public static ComponentAnnotation componentAnnotation(AnnotationMirror annotation) { in componentAnnotation() method in ComponentAnnotation
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootGenerator.java102 componentAnnotation(componentDescriptor), in generateComponents()
191 private ClassName componentAnnotation(ComponentDescriptor componentDescriptor) { in componentAnnotation() method in RootGenerator