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

Method mapKeyType

java/dagger/internal/codegen/MapKeys.java:92–96  ·  view source on GitHub ↗
(AnnotationMirror mapKeyAnnotation, Types types)

Source from the content-addressed store, hash-verified

90 }
91
92 static TypeMirror mapKeyType(AnnotationMirror mapKeyAnnotation, Types types) {
93 return unwrapValue(mapKeyAnnotation).isPresent()
94 ? getUnwrappedMapKeyType(mapKeyAnnotation.getAnnotationType(), types)
95 : mapKeyAnnotation.getAnnotationType();
96 }
97
98 /**
99 * Returns the map key type for an unwrapped {@link MapKey} annotation type. If the single member

Callers 2

mapKeyFactoryMethodMethod · 0.95
bindingMethodKeyTypeMethod · 0.80

Calls 3

unwrapValueMethod · 0.95
getAnnotationTypeMethod · 0.80

Tested by

no test coverage detected