Searched refs:fromTypeElement (Results 1 – 15 of 15) sorted by relevance
81 assertThat(ClassName.fromTypeElement(element).canonicalName()) in classNameFromTypeElement()88 ClassName className = ClassName.fromTypeElement(element); in peerNamed_topLevelClass()97 ClassName className = ClassName.fromTypeElement(element); in peerNamed_nestedClass()106 ClassName className = ClassName.fromTypeElement(element); in peerNamed_deeplyNestedClass()
71 ? ClassName.fromTypeElement((TypeElement) t.asElement()) in forTypeMirror()73 ClassName.fromTypeElement((TypeElement) t.asElement()), in forTypeMirror()
86 implementedTypes.add(ClassName.fromTypeElement(typeElement)); in addImplementedType()94 return addField(ClassName.fromTypeElement(type), name); in addField()
45 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
68 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
60 setSuperclass(ClassName.fromTypeElement(supertype)); in setSupertype()
155 public static ClassName fromTypeElement(TypeElement element) { in fromTypeElement() method in ClassName
196 ClassName enclosingClassName = ClassName.fromTypeElement(contribution.bindingTypeElement()); in generatedClassNameForBinding()277 ClassName injectedClassName = ClassName.fromTypeElement(typeElement); in membersInjectorNameForType()284 ClassName componentName = ClassName.fromTypeElement(componentElement); in generatedMonitoringModuleName()
140 ClassName mapKeyTypeName = ClassName.fromTypeElement(mapKeyType); in getMapKeyCreatorClassName()324 return ClassName.fromTypeElement(MoreTypes.asTypeElement(t));
62 ClassName.fromTypeElement(input.componentDescriptor().componentDefinitionType()); in nameGeneratedType()
91 ParameterizedTypeName.create(Provider.class, ClassName.fromTypeElement(componentElement)), in write()
201 actualModuleName, ClassName.fromTypeElement(moduleType)); in writeSubcomponentWithoutBuilder()
234 ? ClassName.fromTypeElement(binding.bindingTypeElement()) in write()
455 ? ClassName.fromTypeElement(binding.bindingTypeElement())
175 return ClassName.fromTypeElement(componentDefinitionType()); in componentDefinitionTypeName()397 ClassName.fromTypeElement(builderMethodType)); in addBuilderMethods()