Home
last modified time | relevance | path

Searched refs:TypeNames (Results 1 – 22 of 22) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java46 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/
DFactoryGenerator.java38 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()
DFrameworkField.java25 import dagger.internal.codegen.writer.TypeNames;
51 TypeNames.forTypeMirror(bindingKey.key().type())); in createWithTypeFromKey()
61 (ParameterizedTypeName) TypeNames.forTypeMirror(mapValueType), in createForMapBindingContribution()
DMapKeys.java27 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);
DProducerFactoryGenerator.java41 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));
DAbstractComponentWriter.java53 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()
DMapKeyGenerator.java31 import dagger.internal.codegen.writer.TypeNames;
140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType()); in writeCreateMethod()
DSourceFiles.java30 import dagger.internal.codegen.writer.TypeNames;
270 TypeName bindingTypeName = TypeNames.forTypeMirror(bindingType); in bindingTypeParameters()
DSubcomponentWriter.java30 import dagger.internal.codegen.writer.TypeNames;
169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i)); in writeSubcomponentWithoutBuilder()
DMembersInjectorGenerator.java40 import dagger.internal.codegen.writer.TypeNames;
121 TypeName injectedTypeName = TypeNames.forTypeMirror(binding.key().type());
DBindingGraphValidator.java44 import dagger.internal.codegen.writer.TypeNames;
353 String typeName = TypeNames.forTypeMirror(request.key().type()).toString(); in validateNullability()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeDumper.h59 return TypeNames.insert(TypeName).first->getKey(); in saveName()
99 StringSet<> TypeNames; variable
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeNames.java31 public final class TypeNames { class
106 private TypeNames() {
DWildcardName.java24 import static dagger.internal.codegen.writer.TypeNames.FOR_TYPE_MIRROR;
DTypeWriter.java57 new MethodWriter(TypeNames.forTypeMirror(returnType), name); in addMethod()
DTypeVariableName.java112 .transform(TypeNames.FOR_TYPE_MIRROR); in fromTypeParameterElement()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DBindingFieldTest.java24 import dagger.internal.codegen.writer.TypeNames;
66 TypeName xClass = TypeNames.forTypeMirror(key.type()); in frameworkType()
/external/clang/test/SemaCXX/
Dtypo-correction.cpp87 template<typename ...TypeNames> struct count { // expected-note{{parameter pack 'TypeNames' declare…
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp95 TypeMap TypeNames; member in __anon14c515f90111::CppWriter
355 TypeMap::iterator I = TypeNames.find(Ty); in getCppName()
356 if (I != TypeNames.end()) in getCppName()
383 return TypeNames[Ty] = name; in getCppName()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp170 GlobalVariable *&TypeNames, GlobalVariable *&Offsets, GlobalVariable *&Size);
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2042 TEST_F(MiscTest, TypeNames) { in TEST_F() argument
/external/guice/extensions/persist/lib/
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...