Searched refs:forTypeMirror (Results 1 – 16 of 16) sorted by relevance
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | TypeNamesTest.java | 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 …]
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | TypeNames.java | 35 return forTypeMirror(input); 51 public static TypeName forTypeMirror(TypeMirror mirror) { in forTypeMirror() method in TypeNames 79 return PrimitiveName.forTypeMirror(t); in forTypeMirror() 84 return WildcardName.forTypeMirror(t); in forTypeMirror()
|
D | PrimitiveName.java | 42 static PrimitiveName forTypeMirror(PrimitiveType mirror) { in forTypeMirror() method in PrimitiveName
|
D | WildcardName.java | 36 static WildcardName forTypeMirror(WildcardType mirror) { in forTypeMirror() method in WildcardName
|
D | TypeWriter.java | 57 new MethodWriter(TypeNames.forTypeMirror(returnType), name); in addMethod()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | FactoryGenerator.java | 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()
|
D | FrameworkField.java | 51 TypeNames.forTypeMirror(bindingKey.key().type())); in createWithTypeFromKey() 61 (ParameterizedTypeName) TypeNames.forTypeMirror(mapValueType), in createForMapBindingContribution()
|
D | MapKeys.java | 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);
|
D | AbstractComponentWriter.java | 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()
|
D | ProducerFactoryGenerator.java | 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));
|
D | MapKeyGenerator.java | 140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType()); in writeCreateMethod()
|
D | SubcomponentWriter.java | 169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i)); in writeSubcomponentWithoutBuilder()
|
D | SourceFiles.java | 270 TypeName bindingTypeName = TypeNames.forTypeMirror(bindingType); in bindingTypeParameters()
|
D | MembersInjectorGenerator.java | 121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type());
|
D | BindingGraphValidator.java | 353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString(); in validateNullability()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | BindingFieldTest.java | 66 TypeName xClass = TypeNames.forTypeMirror(key.type()); in frameworkType()
|