JAX-RS parameters cannot be injected into a resource class constructor

This rule flags JAX-RS parameters that are injected into a resource class constructor. Resources are CDI beans. Only CDI injection can occur in resource class constructors.

See RESTful Web Services parameter non-CDI injection for more information on this behavior change and the workaround.