HomeSort by relevance Sort by last modified time
    Searched refs:mapKey (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
MultibindingsScanner.java 76 @SuppressWarnings({"unchecked", "rawtypes"}) // mapKey doesn't know its key type
81 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method);
83 if (mapKey.annotation != null) {
84 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
88 if (mapKey.error) {
89 // Already failed on the MapKey, don't bother doing more work.
92 if (mapKey.annotation == null) {
93 // If no MapKey, make an error and abort.
94 binder.addError("No MapKey found for map binding at %s.", method);
97 TypeAndValue typeAndValue = typeAndValueOfMapKey(mapKey.annotation)
    [all...]
MapBinder.java 252 TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<Map<K, V>> mapKey,
255 new RealMapBinder<K, V>(binder, keyType, valueType, mapKey, entrySetBinder);
317 private final Key<Map<K, V>> mapKey;
332 Key<Map<K, V>> mapKey, Multibinder<Map.Entry<K, Provider<V>>> entrySetBinder) {
335 this.mapKey = mapKey;
336 this.providerMapKey = mapKey.ofType(mapOfProviderOf(keyType, valueType));
337 this.javaxProviderMapKey = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType));
338 this.multimapKey = mapKey.ofType(mapOf(keyType, setOf(valueType)));
339 this.providerMultimapKey = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType))
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
NGramList.java 26 Object mapKey(String key);
105 Object mappedKey = keyMapper.mapKey(key);
112 Object mappedKey = keyMapper.mapKey(key);
InputFile.java 132 public Object mapKey(String key)
StatisticsTool.java 139 public Object mapKey(String key)
  /external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
PrecompiledTemplateLoader.java 66 PrecompiledTemplateMapKey mapKey = (PrecompiledTemplateMapKey) entry.getKey();
69 compiledTemplate.setEscapeMode(mapKey.getEscapeMode());
106 PrecompiledTemplateMapKey mapKey = new PrecompiledTemplateMapKey(key, escapeMode);
107 Template template = templateMap.get(mapKey);
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
MapKeys.java 23 import dagger.MapKey;
55 * Methods for extracting {@link MapKey} annotations and key snippets from binding elements.
60 * If {@code bindingElement} is annotated with a {@link MapKey} annotation, returns it.
62 * @throws IllegalArgumentException if the element is annotated with more than one {@code MapKey}
73 * Returns all of the {@link MapKey} annotations that annotate {@code bindingElement}.
76 return getAnnotatedAnnotations(bindingElement, MapKey.class);
80 * Returns the annotation value if {@code mapKey}'s type is annotated with
81 * {@link MapKey @MapKey(unwrapValue = true)}.
83 * @throws IllegalArgumentException if {@code mapKey}'s type is not annotated wit
    [all...]
ContributionBinding.java 32 import dagger.MapKey;
255 * itself, depending on {@link MapKey#unwrapValue()}).
265 AnnotationMirror mapKey = getMapKey(mapBinding.bindingElement()).get();
266 Optional<? extends AnnotationValue> unwrappedValue = unwrapValue(mapKey);
267 return unwrappedValue.isPresent() ? unwrappedValue.get().getValue() : mapKey;
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
SpiUtils.java 101 * @param mapKey The key the map belongs to.
110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType,
118 mapInjectorTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
123 mapModuleTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
129 private static <T> void mapInjectorTest(Key<T> mapKey, TypeLiteral<?> keyType,
134 Binding<T> mapBinding = injector.getBinding(mapKey);
168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType));
169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType));
170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType));
171 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setOf(valueType)))
    [all...]
MapBinderTest.java     [all...]
  /frameworks/native/include/input/
KeyLayoutMap.h 67 status_t mapKey(int32_t scanCode, int32_t usageCode,
KeyCharacterMap.h 131 status_t mapKey(int32_t scanCode, int32_t usageCode, int32_t* outKeyCode) const;
  /external/emma/core/java12/com/vladium/jcd/cls/
ConstantCollection.java 155 final String mapKey = ((CONSTANT_Utf8_info) result).m_value;
158 if (m_CONSTANT_Utf8_index.get (mapKey, out) && (out [0] == zindex))
159 m_CONSTANT_Utf8_index.remove (mapKey);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinder.java 169 String mapKey = getMapKey(included);
170 List<String> result = mIncludedBy.get(mapKey);
173 if (!name.equals(mapKey)) {
198 String mapKey = getMapKey(included);
199 List<String> result = mIncludedBy.get(mapKey);
202 if (!name.equals(mapKey)) {
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 238 String mapKey = mapEntry.getKey();
240 if (!mapKey.contentEquals(trieKey)) {
241 assertEquals(style + "\tKeys match", mapKey, trieKey.toString());
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 235 String mapKey = mapEntry.getKey();
237 if (!mapKey.contentEquals(trieKey)) {
238 assertEquals(style + "\tKeys match", mapKey, trieKey.toString());
  /build/soong/cmd/merge_zips/
merge_zips.go 229 mapKey := filepath.Clean(dest)
230 if existingSource, exists := sourceByDest[mapKey]; exists {
234 sourceByDest[mapKey] = source
  /frameworks/native/services/inputflinger/
EventHub.h 201 virtual status_t mapKey(int32_t deviceId,
299 virtual status_t mapKey(int32_t deviceId,
EventHub.cpp 458 status_t EventHub::mapKey(int32_t deviceId,
469 if (!kcm->mapKey(scanCode, usageCode, outKeycode)) {
477 if (!device->keyMap.keyLayoutMap->mapKey(
    [all...]
  /prebuilts/misc/common/robolectric/3.1.1/lib/
wagon-http-shared-1.0-beta-6.jar 
  /prebuilts/tools/common/m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-6/
wagon-http-shared-1.0-beta-6.jar 
  /external/icu/icu4c/source/tools/genrb/
reslist.h 88 int32_t mapKey(int32_t oldpos) const;
  /frameworks/native/libs/input/
KeyLayoutMap.cpp 85 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode,
90 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Failed.", scanCode, usageCode);
101 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Result keyCode=%d, outFlags=0x%08x.",
  /prebuilts/misc/common/args4j/
args4j-2.0.28.jar 
  /prebuilts/tools/common/m2/repository/args4j/args4j/2.33/
args4j-2.33.jar 

Completed in 1074 milliseconds

1 2 3 4 5 6 7