Searched refs:forTypeMirror (Results 1 - 16 of 16) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
H A DTypeNamesTest.java46 assertThat(TypeNames.forTypeMirror(getType(Object.class)))
48 assertThat(TypeNames.forTypeMirror(getType(Charset.class)))
50 assertThat(TypeNames.forTypeMirror(getType(TypeNamesTest.class)))
58 assertThat(TypeNames.forTypeMirror(setType))
65 assertThat(TypeNames.forTypeMirror(setType))
71 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BOOLEAN)))
73 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BYTE)))
75 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.SHORT)))
77 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.INT)))
79 assertThat(TypeNames.forTypeMirror(compilatio
[all...]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
H A DTypeNames.java35 return forTypeMirror(input);
51 public static TypeName forTypeMirror(TypeMirror mirror) { method in class:TypeNames
79 return PrimitiveName.forTypeMirror(t);
84 return WildcardName.forTypeMirror(t);
H A DPrimitiveName.java42 static PrimitiveName forTypeMirror(PrimitiveType mirror) { method in class:PrimitiveName
H A DWildcardName.java36 static WildcardName forTypeMirror(WildcardType mirror) { method in class:WildcardName
H A DTypeWriter.java57 new MethodWriter(TypeNames.forTypeMirror(returnType), name);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DFrameworkField.java51 TypeNames.forTypeMirror(bindingKey.key().type()));
61 (ParameterizedTypeName) TypeNames.forTypeMirror(mapValueType),
H A DFactoryGenerator.java107 TypeName providedTypeName = TypeNames.forTypeMirror(keyType);
138 TypeName enclosingType = TypeNames.forTypeMirror(binding.bindingTypeElement().asType());
192 TypeNames.forTypeMirror(keyType));
240 TypeName paramTypeName = TypeNames.forTypeMirror(
249 (ClassName) TypeNames.forTypeMirror(binding.nullableType().get()));
H A DMapKeys.java189 "%s.%s", TypeNames.forTypeMirror(c.getEnclosingElement().asType()), c.getSimpleName());
199 return Snippet.format("%s.class", TypeNames.forTypeMirror(t));
329 return TypeNames.forTypeMirror(e);
H A DAbstractComponentWriter.java616 TypeNames.forTypeMirror(
639 Provider.class, TypeNames.forTypeMirror(requestType.getReturnType()));
889 TypeName bindingKeyTypeName = TypeNames.forTypeMirror(binding.key().type());
946 /* 5 */ TypeNames.forTypeMirror(bindingTypeElement.asType()),
1000 /* 2 */ TypeNames.forTypeMirror(binding.key().type()),
1004 /* 6 */ TypeNames.forTypeMirror(bindingTypeElement.asType()),
1034 ? Snippet.format("@%s ", TypeNames.forTypeMirror(nullableType.get()))
1131 TypeNames.forTypeMirror(getKeyTypeOfMap(mapType)),
1132 TypeNames.forTypeMirror(getProvidedValueTypeOfMap(mapType)), // V of Map<K, Provider<V>>
H A DProducerFactoryGenerator.java99 TypeName providedTypeName = TypeNames.forTypeMirror(keyType);
409 TypeName keyName = TypeNames.forTypeMirror(dependency.key().type());
486 TypeNames.forTypeMirror(binding.key().type()),
515 return Snippet.format("%s", TypeNames.forTypeMirror(thrownType));
H A DMapKeyGenerator.java140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType());
H A DSourceFiles.java270 TypeName bindingTypeName = TypeNames.forTypeMirror(bindingType);
H A DSubcomponentWriter.java169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i));
H A DMembersInjectorGenerator.java121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type());
H A DBindingGraphValidator.java353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString();
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
H A DBindingFieldTest.java66 TypeName xClass = TypeNames.forTypeMirror(key.type());

Completed in 232 milliseconds