-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Description
Guice 7.0 only supports Jakarta, and I believe Google internally has a code transform to keep using the javax type. The jakarta.inject.Qualifier should be added to the rule and optionally the javax type removed.
Lines 97 to 106 in 5cb6075
| private static final Matcher<MethodTree> PROVIDES_UNQUALIFIED_CONSTANT = | |
| allOf( | |
| annotations(AT_LEAST_ONE, isType(GUICE_PROVIDES_ANNOTATION)), | |
| not( | |
| annotations( | |
| AT_LEAST_ONE, | |
| Matchers.<AnnotationTree>anyOf( | |
| symbolHasAnnotation(InjectMatchers.GUICE_BINDING_ANNOTATION), | |
| symbolHasAnnotation(InjectMatchers.JAVAX_QUALIFIER_ANNOTATION)))), | |
| methodReturns(IS_SIMPLE_TYPE)); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels