MCPcopy Index your code
hub / github.com/google/dagger / mapOf

Method mapOf

java/dagger/internal/codegen/KeyFactory.java:92–95  ·  view source on GitHub ↗
(TypeMirror keyType, TypeMirror valueType)

Source from the content-addressed store, hash-verified

90 }
91
92 private DeclaredType mapOf(TypeMirror keyType, TypeMirror valueType) {
93 return types.getDeclaredType(
94 getClassElement(Map.class), boxPrimitives(keyType), boxPrimitives(valueType));
95 }
96
97 /** Returns {@code Map<KeyType, FrameworkType<ValueType>>}. */
98 private TypeMirror mapOfFrameworkType(

Callers 5

mapOfFrameworkTypeMethod · 0.95
bindingMethodKeyTypeMethod · 0.95
convertToDelegateKeyMethod · 0.95
rewrapMapKeyMethod · 0.95
wrapMapKeyMethod · 0.95

Calls 3

getClassElementMethod · 0.95
boxPrimitivesMethod · 0.95
getDeclaredTypeMethod · 0.80

Tested by

no test coverage detected