Home
last modified time | relevance | path

Searched refs:componentElement (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMonitoringModuleGenerator.java54 ClassName nameGeneratedType(TypeElement componentElement) { in nameGeneratedType() argument
55 return SourceFiles.generatedMonitoringModuleName(componentElement); in nameGeneratedType()
59 Iterable<? extends Element> getOriginatingElements(TypeElement componentElement) { in getOriginatingElements() argument
60 return ImmutableSet.of(componentElement); in getOriginatingElements()
64 Optional<? extends Element> getElementForErrorReporting(TypeElement componentElement) { in getElementForErrorReporting() argument
65 return Optional.of(componentElement); in getElementForErrorReporting()
69 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, TypeElement componentElement) { in write() argument
91 ParameterizedTypeName.create(Provider.class, ClassName.fromTypeElement(componentElement)), in write()
DBuilderValidator.java65 Element componentElement = subject.getEnclosingElement(); in validate() local
71 if (!isAnnotationPresent(componentElement, componentAnnotation)) { in validate()
116 if (types.isSameType(returnType, componentElement.asType())) { in validate()
DSourceFiles.java283 static ClassName generatedMonitoringModuleName(TypeElement componentElement) { in generatedMonitoringModuleName() argument
284 ClassName componentName = ClassName.fromTypeElement(componentElement); in generatedMonitoringModuleName()
DComponentDescriptor.java360 private ComponentMethodDescriptor getDescriptorForComponentMethod(TypeElement componentElement,
364 MoreTypes.asDeclared(componentElement.asType()), componentMethod));