(Key key)
| 33 | /** Utility methods related to {@link Key}s. */ |
| 34 | final 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 |
no test coverage detected