Home
last modified time | relevance | path

Searched refs:subcomponentAnnotation (Results 1 – 6 of 6) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DComponentValidator.java273 Optional<AnnotationMirror> subcomponentAnnotation = subcomponentAnnotation(); in validateMethod() local
274 if (subcomponentAnnotation.isPresent()) { in validateMethod()
275 validateSubcomponentFactoryMethod(subcomponentAnnotation.get()); in validateMethod()
300 private Optional<AnnotationMirror> subcomponentAnnotation() { in subcomponentAnnotation() method in ComponentValidator.ElementValidator.ComponentMethodValidator
316 private void validateSubcomponentFactoryMethod(AnnotationMirror subcomponentAnnotation) { in validateSubcomponentFactoryMethod() argument
322 ComponentAnnotation.componentAnnotation(subcomponentAnnotation).modules(); in validateSubcomponentFactoryMethod()
DModuleValidator.java29 import static dagger.internal.codegen.base.ComponentAnnotation.subcomponentAnnotation;
313 subcomponentAnnotation(subcomponentType).get().simpleName(), in moduleSubcomponentsIncludesCreator()
337 subcomponentAnnotation(subcomponent).get().simpleName(), in moduleSubcomponentsDoesntHaveCreator()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java171 AnnotationSpec.Builder subcomponentAnnotation = AnnotationSpec.builder(Subcomponent.class); in subcomponent() local
173 subcomponentAnnotation.addMember("modules", "$T.class", module); in subcomponent()
178 .addAnnotation(subcomponentAnnotation.build()) in subcomponent()
/external/dagger2/java/dagger/internal/codegen/binding/
DComponentDescriptorFactory.java23 import static dagger.internal.codegen.base.ComponentAnnotation.subcomponentAnnotation;
92 ComponentAnnotation::subcomponentAnnotation, in subcomponentDescriptor()
229 if (subcomponentAnnotation(returnTypeElement).isPresent()) { in getDescriptorForComponentMethod()
DConfigurationAnnotations.java22 import static dagger.internal.codegen.base.ComponentAnnotation.subcomponentAnnotation;
59 checkArgument(subcomponentAnnotation(subcomponent).isPresent()); in getSubcomponentCreator()
/external/dagger2/java/dagger/internal/codegen/base/
DComponentAnnotation.java143 public static Optional<ComponentAnnotation> subcomponentAnnotation(TypeElement typeElement) { in subcomponentAnnotation() method in ComponentAnnotation