Searched refs:componentElement (Results 1 – 4 of 4) sorted by relevance
54 ClassName nameGeneratedType(TypeElement componentElement) { in nameGeneratedType() argument55 return SourceFiles.generatedMonitoringModuleName(componentElement); in nameGeneratedType()59 Iterable<? extends Element> getOriginatingElements(TypeElement componentElement) { in getOriginatingElements() argument60 return ImmutableSet.of(componentElement); in getOriginatingElements()64 Optional<? extends Element> getElementForErrorReporting(TypeElement componentElement) { in getElementForErrorReporting() argument65 return Optional.of(componentElement); in getElementForErrorReporting()69 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, TypeElement componentElement) { in write() argument91 ParameterizedTypeName.create(Provider.class, ClassName.fromTypeElement(componentElement)), in write()
65 Element componentElement = subject.getEnclosingElement(); in validate() local71 if (!isAnnotationPresent(componentElement, componentAnnotation)) { in validate()116 if (types.isSameType(returnType, componentElement.asType())) { in validate()
283 static ClassName generatedMonitoringModuleName(TypeElement componentElement) { in generatedMonitoringModuleName() argument284 ClassName componentName = ClassName.fromTypeElement(componentElement); in generatedMonitoringModuleName()
360 private ComponentMethodDescriptor getDescriptorForComponentMethod(TypeElement componentElement,364 MoreTypes.asDeclared(componentElement.asType()), componentMethod));