Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/validation/
DMonitoringModuleGenerator.java57 public ClassName nameGeneratedType(TypeElement componentElement) { in nameGeneratedType() argument
58 return SourceFiles.generatedMonitoringModuleName(componentElement); in nameGeneratedType()
62 public Element originatingElement(TypeElement componentElement) { in originatingElement() argument
63 return componentElement; in originatingElement()
67 public Optional<TypeSpec.Builder> write(TypeElement componentElement) { in write() argument
69 classBuilder(nameGeneratedType(componentElement)) in write()
74 .addMethod(monitor(componentElement))); in write()
89 private MethodSpec monitor(TypeElement componentElement) { in monitor() argument
95 .addParameter(providerOf(ClassName.get(componentElement.asType())), "component") in monitor()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java114 TypeElement componentElement = componentDescriptor.typeElement(); in write() local
115 addSupertype(generatedComponent, componentElement); in write()
156 DeclaredType componentType = MoreTypes.asDeclared(componentElement.asType()); in write()
169 emptyComponentMethod(componentElement, method.methodElement()))); in write()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java97 TypeElement componentElement = in visitGraph() local
100 ClassName componentName = ClassName.get(componentElement); in visitGraph()
108 componentElement); in visitGraph()
/external/dagger2/java/dagger/internal/codegen/binding/
DComponentDescriptorFactory.java216 TypeElement componentElement, in getDescriptorForComponentMethod() argument
224 types.asMemberOf(MoreTypes.asDeclared(componentElement.asType()), componentMethod)); in getDescriptorForComponentMethod()
DSourceFiles.java205 public static ClassName generatedMonitoringModuleName(TypeElement componentElement) { in generatedMonitoringModuleName() argument
206 return siblingClassName(componentElement, "_MonitoringModule"); in generatedMonitoringModuleName()