• Home
  • Raw
  • Download

Lines Matching +full:source +full:- +full:map

8  * http://www.apache.org/licenses/LICENSE-2.0
19 import androidx.room.compiler.processing.util.Source;
43 Source module = in duplicateMapKeys_UnwrappedMapKey()
64 // If they're all there, report only Map<K, V>. in duplicateMapKeys_UnwrappedMapKey()
68 "Map<String, Object> objects();", in duplicateMapKeys_UnwrappedMapKey()
69 "Map<String, Provider<Object>> objectProviders();", in duplicateMapKeys_UnwrappedMapKey()
70 "Producer<Map<String, Producer<Object>>> objectProducers();")) in duplicateMapKeys_UnwrappedMapKey()
73 subject -> { in duplicateMapKeys_UnwrappedMapKey()
76 "The same map key is bound more than once for Map<String,Object>"); in duplicateMapKeys_UnwrappedMapKey()
88 subject -> { in duplicateMapKeys_UnwrappedMapKey()
91 "The same map key is bound more than once for Map<String,Provider<Object>>") in duplicateMapKeys_UnwrappedMapKey()
98 // If there's Map<K, V> and Map<K, Provider<V>>, report only Map<K, V>. in duplicateMapKeys_UnwrappedMapKey()
102 "Map<String, Object> objects();", in duplicateMapKeys_UnwrappedMapKey()
103 "Map<String, Provider<Object>> objectProviders();")) in duplicateMapKeys_UnwrappedMapKey()
106 subject -> { in duplicateMapKeys_UnwrappedMapKey()
109 "The same map key is bound more than once for Map<String,Object>"); in duplicateMapKeys_UnwrappedMapKey()
112 // If there's Map<K, V> and Map<K, Producer<V>>, report only Map<K, V>. in duplicateMapKeys_UnwrappedMapKey()
116 "Map<String, Object> objects();", in duplicateMapKeys_UnwrappedMapKey()
117 "Producer<Map<String, Producer<Object>>> objectProducers();")) in duplicateMapKeys_UnwrappedMapKey()
120 subject -> { in duplicateMapKeys_UnwrappedMapKey()
123 "The same map key is bound more than once for Map<String,Object>"); in duplicateMapKeys_UnwrappedMapKey()
126 // If there's Map<K, Provider<V>> and Map<K, Producer<V>>, report only Map<K, Provider<V>>. in duplicateMapKeys_UnwrappedMapKey()
130 "Map<String, Provider<Object>> objectProviders();", in duplicateMapKeys_UnwrappedMapKey()
131 "Producer<Map<String, Producer<Object>>> objectProducers();")) in duplicateMapKeys_UnwrappedMapKey()
134 subject -> { in duplicateMapKeys_UnwrappedMapKey()
137 "The same map key is bound more than once for Map<String,Provider<Object>>"); in duplicateMapKeys_UnwrappedMapKey()
142 component("Map<String, Object> objects();")) in duplicateMapKeys_UnwrappedMapKey()
145 subject -> { in duplicateMapKeys_UnwrappedMapKey()
148 "The same map key is bound more than once for Map<String,Object>"); in duplicateMapKeys_UnwrappedMapKey()
153 component("Map<String, Provider<Object>> objectProviders();")) in duplicateMapKeys_UnwrappedMapKey()
156 subject -> { in duplicateMapKeys_UnwrappedMapKey()
159 "The same map key is bound more than once for Map<String,Provider<Object>>"); in duplicateMapKeys_UnwrappedMapKey()
164 component("Producer<Map<String, Producer<Object>>> objectProducers();")) in duplicateMapKeys_UnwrappedMapKey()
167 subject -> { in duplicateMapKeys_UnwrappedMapKey()
170 "The same map key is bound more than once for Map<String,Producer<Object>>"); in duplicateMapKeys_UnwrappedMapKey()
176 Source module = in duplicateMapKeys_WrappedMapKey()
205 Source component = component("Map<test.MapModule.WrappedMapKey, String> objects();"); in duplicateMapKeys_WrappedMapKey()
210 subject -> { in duplicateMapKeys_WrappedMapKey()
215 "\033[1;31m[Dagger/MapKeys]\033[0m The same map key is bound more than " in duplicateMapKeys_WrappedMapKey()
216 + "once for Map<MapModule.WrappedMapKey,String>", in duplicateMapKeys_WrappedMapKey()
228 Source module = in inconsistentMapKeyAnnotations()
248 Source stringKeyTwoFile = in inconsistentMapKeyAnnotations()
260 // If they're all there, report only Map<K, V>. in inconsistentMapKeyAnnotations()
265 "Map<String, Object> objects();", in inconsistentMapKeyAnnotations()
266 "Map<String, Provider<Object>> objectProviders();", in inconsistentMapKeyAnnotations()
267 "Producer<Map<String, Producer<Object>>> objectProducers();")) in inconsistentMapKeyAnnotations()
270 subject -> { in inconsistentMapKeyAnnotations()
273 "Map<String,Object> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
285 subject -> { in inconsistentMapKeyAnnotations()
288 "Map<String,Provider<Object>> uses more than one @MapKey annotation type") in inconsistentMapKeyAnnotations()
295 // If there's Map<K, V> and Map<K, Provider<V>>, report only Map<K, V>. in inconsistentMapKeyAnnotations()
300 "Map<String, Object> objects();", in inconsistentMapKeyAnnotations()
301 "Map<String, Provider<Object>> objectProviders();")) in inconsistentMapKeyAnnotations()
304 subject -> { in inconsistentMapKeyAnnotations()
307 "Map<String,Object> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
310 // If there's Map<K, V> and Map<K, Producer<V>>, report only Map<K, V>. in inconsistentMapKeyAnnotations()
315 "Map<String, Object> objects();", in inconsistentMapKeyAnnotations()
316 "Producer<Map<String, Producer<Object>>> objectProducers();")) in inconsistentMapKeyAnnotations()
319 subject -> { in inconsistentMapKeyAnnotations()
322 "Map<String,Object> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
325 // If there's Map<K, Provider<V>> and Map<K, Producer<V>>, report only Map<K, Provider<V>>. in inconsistentMapKeyAnnotations()
330 "Map<String, Provider<Object>> objectProviders();", in inconsistentMapKeyAnnotations()
331 "Producer<Map<String, Producer<Object>>> objectProducers();")) in inconsistentMapKeyAnnotations()
334 subject -> { in inconsistentMapKeyAnnotations()
337 "Map<String,Provider<Object>> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
343 component("Map<String, Object> objects();")) in inconsistentMapKeyAnnotations()
346 subject -> { in inconsistentMapKeyAnnotations()
349 "Map<String,Object> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
355 component("Map<String, Provider<Object>> objectProviders();")) in inconsistentMapKeyAnnotations()
358 subject -> { in inconsistentMapKeyAnnotations()
361 "Map<String,Provider<Object>> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
367 component("Producer<Map<String, Producer<Object>>> objectProducers();")) in inconsistentMapKeyAnnotations()
370 subject -> { in inconsistentMapKeyAnnotations()
373 "Map<String,Producer<Object>> uses more than one @MapKey annotation type"); in inconsistentMapKeyAnnotations()
377 private static Source component(String... entryPoints) { in component()
386 "import java.util.Map;", in component()