/external/guice/core/test/com/google/inject/internal/ |
D | MapBinderTest.java | 134 Key.get(Types.mapOf(String.class, String.class)), in testAllBindings() 136 Key.get(Types.mapOf(String.class, Types.providerOf(String.class))), in testAllBindings() 138 Key.get(Types.mapOf(String.class, javaxProviderOf(String.class))), in testAllBindings() 140 Key.get(Types.mapOf(String.class, Types.setOf(String.class))), in testAllBindings() 142 Key.get(Types.mapOf(String.class, Types.setOf(Types.providerOf(String.class)))), in testAllBindings() 145 Types.mapOf(String.class, Types.setOf(Types.javaxProviderOf(String.class)))), in testAllBindings() 148 Types.mapOf(String.class, Types.collectionOf(Types.providerOf(String.class)))), in testAllBindings() 151 Types.mapOf( in testAllBindings() 212 assertEquals(mapOf("a", "A", "b", "B", "c", "C", "d", "D", "e", "E"), abcde); in testMapBinderAggregatesMultipleModules() 251 assertEquals(mapOf("a", "A", "b", "B", "c", "C"), abc); in testMapBinderAggregationForAnnotationInstance() [all …]
|
D | SpiUtils.java | 21 import static com.google.inject.internal.RealMapBinder.mapOf; 200 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType))); in mapInjectorTest() 377 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType))); in mapModuleTest()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | KeyFactory.java | 94 private DeclaredType mapOf(TypeMirror keyType, TypeMirror valueType) { in mapOf() method in KeyFactory 102 return mapOf(keyType, types.getDeclaredType(frameworkType, boxPrimitives(valueType))); in mapOfFrameworkType() 222 : mapOf(mapKeyType, returnType); in bindingMethodKeyType() 331 .type(mapOf(mapType.keyType(), mapType.unwrappedValueType(frameworkClass))) in unwrapMapValueType() 375 possibleMapKey.toBuilder().type(mapOf(mapType.keyType(), wrappedValueType)).build()); in rewrapMapKey() 400 possibleMapKey.toBuilder().type(mapOf(mapType.keyType(), wrappedValueType)).build()); in wrapMapKey()
|
/external/guice/core/src/com/google/inject/internal/ |
D | RealMapBinder.java | 79 Key.get(mapOf(keyType, valueType)), in newMapRealBinder() 94 Key.get(mapOf(keyType, valueType), annotation), in newRealMapBinder() 113 Key.get(mapOf(keyType, valueType), annotationType), in newRealMapBinder() 119 static <K, V> TypeLiteral<Map<K, V>> mapOf(TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in mapOf() method in RealMapBinder 121 TypeLiteral.get(Types.mapOf(keyType.getType(), valueType.getType())); in mapOf() 128 TypeLiteral.get(Types.mapOf(keyType.getType(), Types.providerOf(valueType.getType()))); in mapOfProviderOf() 137 Types.mapOf( in mapOfJavaxProviderOf() 147 Types.mapOf(keyType.getType(), Types.setOf(Types.providerOf(valueType.getType())))); in mapOfSetOfProviderOf() 155 Types.mapOf( in mapOfSetOfJavaxProviderOf() 164 Types.mapOf( in mapOfCollectionOfProviderOf() [all …]
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | UncheckedCastTest.kt | 22 bs.lazySet(mapOf(1 to listOf(Box(1), Box(2)))) in testAtomicValUncheckedCast()
|
D | AtomicArrayTest.kt | 89 A.mapArr[0].value = mapOf(listOf("A", "B") to "C") in testRefArray()
|
/external/kotlinx.coroutines/buildSrc/src/main/kotlin/ |
D | CacheRedirector.kt | 87 private val aliases = mapOf(
|
/external/guice/core/src/com/google/inject/util/ |
D | Types.java | 123 public static ParameterizedType mapOf(Type keyType, Type valueType) { in mapOf() method in Types
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlPackageListService.kt | 44 this(mapOf("mode" to listOf(if (asJava) "java" else "kotlin")), resolutionFacade)
|
/external/guice/core/test/com/google/inject/util/ |
D | TypesTest.java | 70 assertEqualsBothWays(mapStringInteger, Types.mapOf(String.class, Integer.class)); in testListSetMap()
|
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/ |
D | AtomicFUTransformer.kt | 34 private val AFU_CLASSES: Map<String, TypeInfo> = mapOf( in <lambda>() 47 private val WRAPPER: Map<Type, String> = mapOf( in <lambda>() 53 private val ARRAY_ELEMENT_TYPE: Map<Type, Int> = mapOf( in <lambda>()
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 276 Types.mapOf(String.class, Integer.class), typeResolver.getSupertype(Map.class).getType()); in testResolve()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 1463 assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class)); in testWhere() 1944 private static <K, V> TypeToken<Map<K, V>> mapOf(Class<K> keyType, Class<V> valueType) { in mapOf() method
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 1463 assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class)); in testWhere() 1944 private static <K, V> TypeToken<Map<K, V>> mapOf(Class<K> keyType, Class<V> valueType) { in mapOf() method
|