Searched refs:TypeNames (Results 1 – 22 of 22) sorted by relevance
46 assertThat(TypeNames.forTypeMirror(getType(Object.class))) in forTypeMirror_basicTypes()48 assertThat(TypeNames.forTypeMirror(getType(Charset.class))) in forTypeMirror_basicTypes()50 assertThat(TypeNames.forTypeMirror(getType(TypeNamesTest.class))) in forTypeMirror_basicTypes()58 assertThat(TypeNames.forTypeMirror(setType)) in forTypeMirror_parameterizedType()65 assertThat(TypeNames.forTypeMirror(setType)) in forTypeMirror_typeVariables()71 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in forTypeMirror_primitive()73 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BYTE))) in forTypeMirror_primitive()75 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.SHORT))) in forTypeMirror_primitive()77 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.INT))) in forTypeMirror_primitive()79 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.LONG))) in forTypeMirror_primitive()[all …]
38 import dagger.internal.codegen.writer.TypeNames;107 TypeName providedTypeName = TypeNames.forTypeMirror(keyType); in write()138 TypeName enclosingType = TypeNames.forTypeMirror(binding.bindingTypeElement().asType()); in write()192 TypeNames.forTypeMirror(keyType)); in write()240 TypeName paramTypeName = TypeNames.forTypeMirror( in write()249 (ClassName) TypeNames.forTypeMirror(binding.nullableType().get())); in write()
25 import dagger.internal.codegen.writer.TypeNames;51 TypeNames.forTypeMirror(bindingKey.key().type())); in createWithTypeFromKey()61 (ParameterizedTypeName) TypeNames.forTypeMirror(mapValueType), in createForMapBindingContribution()
27 import dagger.internal.codegen.writer.TypeNames;189 "%s.%s", TypeNames.forTypeMirror(c.getEnclosingElement().asType()), c.getSimpleName()); in visitEnumConstant()199 return Snippet.format("%s.class", TypeNames.forTypeMirror(t)); in visitType()329 return TypeNames.forTypeMirror(e);
41 import dagger.internal.codegen.writer.TypeNames;99 TypeName providedTypeName = TypeNames.forTypeMirror(keyType); in write()409 TypeName keyName = TypeNames.forTypeMirror(dependency.key().type());486 TypeNames.forTypeMirror(binding.key().type()),515 return Snippet.format("%s", TypeNames.forTypeMirror(thrownType));
53 import dagger.internal.codegen.writer.TypeNames;616 TypeNames.forTypeMirror( in implementInterfaceMethods()639 Provider.class, TypeNames.forTypeMirror(requestType.getReturnType())); in implementInterfaceMethods()889 TypeName bindingKeyTypeName = TypeNames.forTypeMirror(binding.key().type()); in initializeFactoryForContributionBinding()946 /* 5 */ TypeNames.forTypeMirror(bindingTypeElement.asType()), in initializeFactoryForContributionBinding()1000 /* 2 */ TypeNames.forTypeMirror(binding.key().type()), in initializeFactoryForContributionBinding()1004 /* 6 */ TypeNames.forTypeMirror(bindingTypeElement.asType()), in initializeFactoryForContributionBinding()1034 ? Snippet.format("@%s ", TypeNames.forTypeMirror(nullableType.get())) in nullableSnippet()1131 TypeNames.forTypeMirror(getKeyTypeOfMap(mapType)), in initializeMapBinding()1132 TypeNames.forTypeMirror(getProvidedValueTypeOfMap(mapType)), // V of Map<K, Provider<V>> in initializeMapBinding()
31 import dagger.internal.codegen.writer.TypeNames;140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType()); in writeCreateMethod()
30 import dagger.internal.codegen.writer.TypeNames;169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i)); in writeSubcomponentWithoutBuilder()
30 import dagger.internal.codegen.writer.TypeNames;270 TypeName bindingTypeName = TypeNames.forTypeMirror(bindingType); in bindingTypeParameters()
40 import dagger.internal.codegen.writer.TypeNames;121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type());
44 import dagger.internal.codegen.writer.TypeNames;353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString(); in validateNullability()
31 public final class TypeNames { class106 private TypeNames() {
24 import static dagger.internal.codegen.writer.TypeNames.FOR_TYPE_MIRROR;
57 new MethodWriter(TypeNames.forTypeMirror(returnType), name); in addMethod()
112 .transform(TypeNames.FOR_TYPE_MIRROR); in fromTypeParameterElement()
24 import dagger.internal.codegen.writer.TypeNames;66 TypeName xClass = TypeNames.forTypeMirror(key.type()); in frameworkType()
160 struct TypeNames { struct175 extern const TypeNames gTypeNames[]; argument
395 const TypeNames gTypeNames[] = {
87 template<typename ...TypeNames> struct count { // expected-note{{parameter pack 'TypeNames' declare…
99 TypeMap TypeNames; member in __anon12aff8cd0111::CppWriter397 TypeMap::iterator I = TypeNames.find(Ty); in getCppName()398 if (I != TypeNames.end()) in getCppName()425 return TypeNames[Ty] = name; in getCppName()
1717 TEST_F(MiscTest, TypeNames) { in TEST_F() argument
META-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...