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

Method isMap

java/dagger/internal/codegen/MapType.java:112–114  ·  view source on GitHub ↗

true if type is a Map type.

(TypeMirror type)

Source from the content-addressed store, hash-verified

110 * {@code true} if {@code type} is a {@link Map} type.
111 */
112 static boolean isMap(TypeMirror type) {
113 return MoreTypes.isType(type) && MoreTypes.isTypeOf(Map.class, type);
114 }
115
116 /**
117 * {@code true} if {@code key.type()} is a {@link Map} type.

Callers 12

forDeclaredMethodMethod · 0.95
contributionTypeMethod · 0.95
fromMethod · 0.95
isPlainMapMethod · 0.95
forMultibindsMethodMethod · 0.95
convertToDelegateKeyMethod · 0.95
rewrapMapKeyMethod · 0.95
wrapMapKeyMethod · 0.95
breaksCycleMethod · 0.95

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected