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

Method valuesAreTypeOf

java/dagger/internal/codegen/MapType.java:80–82  ·  view source on GitHub ↗

true if #valueType() is a clazz. @throws IllegalStateException if #isRawType() is true.

(Class<?> clazz)

Source from the content-addressed store, hash-verified

78 * @throws IllegalStateException if {@link #isRawType()} is true.
79 */
80 boolean valuesAreTypeOf(Class<?> clazz) {
81 return MoreTypes.isType(valueType()) && MoreTypes.isTypeOf(clazz, valueType());
82 }
83
84 /**
85 * Returns {@code true} if the {@linkplain #valueType() value type} of the {@link Map} is a

Callers 9

mapFactoryClassNameMethod · 0.95
unwrappedValueTypeMethod · 0.95
convertToDelegateKeyMethod · 0.95
rewrapMapKeyMethod · 0.95
wrapMapKeyMethod · 0.95
creationExpressionMethod · 0.95
breaksCycleMethod · 0.80

Calls 1

valueTypeMethod · 0.95

Tested by

no test coverage detected