MCPcopy Create free account
hub / github.com/google/guice / duplicateMapKey

Method duplicateMapKey

core/src/com/google/inject/internal/Errors.java:359–365  ·  view source on GitHub ↗
(Key<Map<K, V>> mapKey, Multimap<K, Binding<V>> duplicates)

Source from the content-addressed store, hash-verified

357 }
358
359 public <K, V> Errors duplicateMapKey(Key<Map<K, V>> mapKey, Multimap<K, Binding<V>> duplicates) {
360 return addMessage(
361 new Message(
362 GuiceInternal.GUICE_INTERNAL,
363 ErrorId.DUPLICATE_MAP_KEY,
364 new DuplicateMapKeyError<K, V>(mapKey, duplicates, getSources())));
365 }
366
367 public Errors duplicateScopes(
368 ScopeBinding existing, Class<? extends Annotation> annotationType, Scope scope) {

Callers 1

Calls 2

addMessageMethod · 0.95
getSourcesMethod · 0.95

Tested by

no test coverage detected