GuiceAssistedInjectScoping
Scope annotation on implementation class of AssistedInject factory is not allowed

Severity
ERROR

The problem

Classes that AssistedInject factories create may not be annotated with scope annotations, such as @Singleton. This will cause a Guice error at runtime.

See this bug report for details.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("GuiceAssistedInjectScoping") to the enclosing element.