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

Method isValidMembersInjectionKey

java/dagger/internal/codegen/Keys.java:35–39  ·  view source on GitHub ↗
(Key key)

Source from the content-addressed store, hash-verified

33/** Utility methods related to {@link Key}s. */
34final class Keys {
35 static boolean isValidMembersInjectionKey(Key key) {
36 return !key.qualifier().isPresent()
37 && !key.multibindingContributionIdentifier().isPresent()
38 && key.type().getKind().equals(TypeKind.DECLARED);
39 }
40
41 /**
42 * Returns {@code true} if this is valid as an implicit key (that is, if it's valid for a

Calls 4

qualifierMethod · 0.45
equalsMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected