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

Method asMap

core/src/com/google/inject/internal/FailableCache.java:80–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 Map<K, V> asMap() {
81 return Maps.transformValues(
82 Maps.filterValues(
83 ImmutableMap.copyOf(delegate.asMap()),
84 resultOrError -> !(resultOrError instanceof Errors)),
85 resultOrError -> {
86 @SuppressWarnings("unchecked") // create returned a non-error result, so this is safe
87 V result = (V) resultOrError;
88 return result;
89 });
90 }
91}

Callers 9

testCycleReportingMethod · 0.80
shortenNamesMethod · 0.80
formatDetailMethod · 0.80
removeMethod · 0.80
formatDetailMethod · 0.80
getAllInjectionPointsMethod · 0.80
removeMethod · 0.80
deduplicateModulesMethod · 0.80

Calls

no outgoing calls

Tested by 1

testCycleReportingMethod · 0.64