Home
last modified time | relevance | path

Searched refs:fromTypeElement (Results 1 – 15 of 15) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DClassNameTest.java81 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()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeWriter.java86 implementedTypes.add(ClassName.fromTypeElement(typeElement)); in addImplementedType()
94 return addField(ClassName.fromTypeElement(type), name); in addField()
DTypeNames.java71 ? ClassName.fromTypeElement((TypeElement) t.asElement()) in forTypeMirror()
73 ClassName.fromTypeElement((TypeElement) t.asElement()), in forTypeMirror()
DConstructorWriter.java45 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
DMethodWriter.java68 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
DClassWriter.java60 setSuperclass(ClassName.fromTypeElement(supertype)); in setSupertype()
DClassName.java155 public static ClassName fromTypeElement(TypeElement element) { in fromTypeElement() method in ClassName
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSourceFiles.java196 ClassName enclosingClassName = ClassName.fromTypeElement(contribution.bindingTypeElement()); in generatedClassNameForBinding()
277 ClassName injectedClassName = ClassName.fromTypeElement(typeElement); in membersInjectorNameForType()
284 ClassName componentName = ClassName.fromTypeElement(componentElement); in generatedMonitoringModuleName()
DMapKeys.java140 ClassName mapKeyTypeName = ClassName.fromTypeElement(mapKeyType); in getMapKeyCreatorClassName()
324 return ClassName.fromTypeElement(MoreTypes.asTypeElement(t));
DMonitoringModuleGenerator.java91 ParameterizedTypeName.create(Provider.class, ClassName.fromTypeElement(componentElement)), in write()
DComponentGenerator.java62 ClassName.fromTypeElement(input.componentDescriptor().componentDefinitionType()); in nameGeneratedType()
DSubcomponentWriter.java201 actualModuleName, ClassName.fromTypeElement(moduleType)); in writeSubcomponentWithoutBuilder()
DFactoryGenerator.java234 ? ClassName.fromTypeElement(binding.bindingTypeElement()) in write()
DProducerFactoryGenerator.java455 ? ClassName.fromTypeElement(binding.bindingTypeElement())
DAbstractComponentWriter.java175 return ClassName.fromTypeElement(componentDefinitionType()); in componentDefinitionTypeName()
397 ClassName.fromTypeElement(builderMethodType)); in addBuilderMethods()