PrivateConstructorForNoninstantiableModuleTest
Add a private constructor to modules that will not be instantiated by Dagger.

Severity
SUGGESTION
Has Fix?
REQUIRES_HUMAN_ATTENTION

The problem

Modules that contain abstract binding methods (@Binds, @Multibinds) or only static @Provides methods will not be instantiated by Dagger when they are included in a component. Adding a private constructor clearly conveys that the module will not be used as an instance.

Suppression

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