Searched refs:componentElement (Results 1 – 5 of 5) sorted by relevance
57 public ClassName nameGeneratedType(TypeElement componentElement) { in nameGeneratedType() argument58 return SourceFiles.generatedMonitoringModuleName(componentElement); in nameGeneratedType()62 public Element originatingElement(TypeElement componentElement) { in originatingElement() argument63 return componentElement; in originatingElement()67 public Optional<TypeSpec.Builder> write(TypeElement componentElement) { in write() argument69 classBuilder(nameGeneratedType(componentElement)) in write()74 .addMethod(monitor(componentElement))); in write()89 private MethodSpec monitor(TypeElement componentElement) { in monitor() argument95 .addParameter(providerOf(ClassName.get(componentElement.asType())), "component") in monitor()
114 TypeElement componentElement = componentDescriptor.typeElement(); in write() local115 addSupertype(generatedComponent, componentElement); in write()156 DeclaredType componentType = MoreTypes.asDeclared(componentElement.asType()); in write()169 emptyComponentMethod(componentElement, method.methodElement()))); in write()
97 TypeElement componentElement = in visitGraph() local100 ClassName componentName = ClassName.get(componentElement); in visitGraph()108 componentElement); in visitGraph()
216 TypeElement componentElement, in getDescriptorForComponentMethod() argument224 types.asMemberOf(MoreTypes.asDeclared(componentElement.asType()), componentMethod)); in getDescriptorForComponentMethod()
205 public static ClassName generatedMonitoringModuleName(TypeElement componentElement) { in generatedMonitoringModuleName() argument206 return siblingClassName(componentElement, "_MonitoringModule"); in generatedMonitoringModuleName()