Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DAbstractComponentProcessingStep.java33 private final Class<? extends Annotation> componentAnnotation; field in AbstractComponentProcessingStep
42 Class<? extends Annotation> componentAnnotation, in AbstractComponentProcessingStep() argument
49 this.componentAnnotation = componentAnnotation; in AbstractComponentProcessingStep()
64 for (Element element : elementsByAnnotation.get(componentAnnotation)) { in process()
DConfigurationAnnotations.java70 static ImmutableList<TypeMirror> getComponentModules(AnnotationMirror componentAnnotation) { in getComponentModules() argument
71 checkNotNull(componentAnnotation); in getComponentModules()
72 return convertClassArrayToListOfTypes(componentAnnotation, MODULES_ATTRIBUTE); in getComponentModules()
77 static ImmutableList<TypeMirror> getComponentDependencies(AnnotationMirror componentAnnotation) { in getComponentDependencies() argument
78 checkNotNull(componentAnnotation); in getComponentDependencies()
79 return convertClassArrayToListOfTypes(componentAnnotation, DEPENDENCIES_ATTRIBUTE); in getComponentDependencies()
DBindingGraphValidator.java545 Optional<AnnotationMirror> componentAnnotation = in validateComponentHierarchy() local
547 if (componentAnnotation.isPresent()) { in validateComponentHierarchy()
551 MoreTypes.asTypeElements(getComponentDependencies(componentAnnotation.get())); in validateComponentHierarchy()
583 descriptor.componentAnnotation()); in validateDependencyScopes()
595 descriptor.componentAnnotation()); in validateDependencyScopes()
615 descriptor.componentAnnotation()); in validateDependencyScopes()
692 Optional<AnnotationMirror> componentAnnotation = in validateScopeHierarchy() local
694 if (componentAnnotation.isPresent()) { in validateScopeHierarchy()
696 MoreTypes.asTypeElements(getComponentDependencies(componentAnnotation.get()))); in validateScopeHierarchy()
763 message.toString(), componentType, subject.componentDescriptor().componentAnnotation()); in validateComponentScope()
DBuilderValidator.java67 Class<? extends Annotation> componentAnnotation = componentType.annotationType(); in validate() local
71 if (!isAnnotationPresent(componentElement, componentAnnotation)) { in validate()
DComponentDescriptor.java126 abstract AnnotationMirror componentAnnotation(); in componentAnnotation() method in ComponentDescriptor