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

Method isValidImplicitProvisionKey

java/dagger/internal/codegen/Keys.java:45–47  ·  view source on GitHub ↗

Returns true if this is valid as an implicit key (that is, if it's valid for a just-in-time binding by discovering an @Inject constructor).

(Key key, Types types)

Source from the content-addressed store, hash-verified

43 * just-in-time binding by discovering an {@code @Inject} constructor).
44 */
45 static boolean isValidImplicitProvisionKey(Key key, Types types) {
46 return isValidImplicitProvisionKey(key.qualifier(), key.type(), types);
47 }
48
49 /**
50 * Returns {@code true} if a key with {@code qualifier} and {@code type} is valid as an implicit

Callers 3

checkKeyTypeMethod · 0.80

Calls 3

acceptMethod · 0.80
qualifierMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected