Searched refs:forTypeMirror (Results 1 - 16 of 16) sorted by relevance
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
H A D | TypeNamesTest.java | 46 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 D | TypeNames.java | 35 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 D | PrimitiveName.java | 42 static PrimitiveName forTypeMirror(PrimitiveType mirror) { method in class:PrimitiveName
|
H A D | WildcardName.java | 36 static WildcardName forTypeMirror(WildcardType mirror) { method in class:WildcardName
|
H A D | TypeWriter.java | 57 new MethodWriter(TypeNames.forTypeMirror(returnType), name);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | FrameworkField.java | 51 TypeNames.forTypeMirror(bindingKey.key().type())); 61 (ParameterizedTypeName) TypeNames.forTypeMirror(mapValueType),
|
H A D | FactoryGenerator.java | 107 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 D | MapKeys.java | 189 "%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 D | AbstractComponentWriter.java | 616 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 D | ProducerFactoryGenerator.java | 99 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 D | MapKeyGenerator.java | 140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType());
|
H A D | SourceFiles.java | 270 TypeName bindingTypeName = TypeNames.forTypeMirror(bindingType);
|
H A D | SubcomponentWriter.java | 169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i));
|
H A D | MembersInjectorGenerator.java | 121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type());
|
H A D | BindingGraphValidator.java | 353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString();
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
H A D | BindingFieldTest.java | 66 TypeName xClass = TypeNames.forTypeMirror(key.type());
|
Completed in 232 milliseconds