The condition BE_ANNOTATED_WITH_AN_INJECTION_ANNOTATION and the rule NO_CLASSES_SHOULD_USE_FIELD_INJECTION previously considered the javax.inject.Inject and javax.annotation.Resource annotations, but not their jakarta variants (jakarta.inject.Inject and jakarta.annotation.Resource).
The condition
BE_ANNOTATED_WITH_AN_INJECTION_ANNOTATION
and the ruleNO_CLASSES_SHOULD_USE_FIELD_INJECTION
previously considered thejavax.inject.Inject
andjavax.annotation.Resource
annotations, but not their jakarta variants (jakarta.inject.Inject
andjakarta.annotation.Resource
).Resolves: #1285