Searched refs:mapType (Results 1 – 5 of 5) sorted by relevance
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Util.java | 52 public static TypeMirror getProvidedValueTypeOfMap(DeclaredType mapType) { in getProvidedValueTypeOfMap() argument 53 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getProvidedValueTypeOfMap() local 54 return asDeclared(mapType.getTypeArguments().get(1)).getTypeArguments().get(0); in getProvidedValueTypeOfMap() 61 public static TypeMirror getValueTypeOfMap(DeclaredType mapType) { in getValueTypeOfMap() argument 62 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getValueTypeOfMap() local 63 return mapType.getTypeArguments().get(1); in getValueTypeOfMap() 69 public static TypeMirror getKeyTypeOfMap(DeclaredType mapType) { in getKeyTypeOfMap() argument 70 checkState(MoreTypes.isTypeOf(Map.class, mapType), "%s is not a Map.", mapType); in getKeyTypeOfMap() local 71 return mapType.getTypeArguments().get(0); in getKeyTypeOfMap()
|
D | Key.java | 357 TypeMirror mapType = types.getDeclaredType(getMapElement(), keyType, wrappedType); 360 MoreTypes.equivalence().wrap(mapType)));
|
D | AbstractComponentWriter.java | 1118 DeclaredType mapType = asDeclared(firstBinding.key().type()); in initializeMapBinding() local 1120 if (isMapWithNonProvidedValues(mapType)) { in initializeMapBinding() 1131 TypeNames.forTypeMirror(getKeyTypeOfMap(mapType)), in initializeMapBinding() 1132 TypeNames.forTypeMirror(getProvidedValueTypeOfMap(mapType)), // V of Map<K, Provider<V>> in initializeMapBinding()
|
/external/skia/gm/ |
D | lightingshader.cpp | 89 void drawRect(SkCanvas* canvas, const SkRect& r, NormalMap mapType) { in drawRect() argument 103 fNormalMaps[mapType], in drawRect()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 395 assertEquals(Map.class, mapType().getRawType()); 492 private static TypeToken<Map<Object, Object>> mapType() {
|