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.
Suppress false positives by adding the suppression annotation @SuppressWarnings("GuiceAssistedInjectScoping")
to the enclosing element.