Annotation Interface DisableInstallInCheck


public @interface DisableInstallInCheck
Marks a Module-annotated class to allow it to have no InstallIn annotation.

Use this annotation on modules to suppress the error of a missing InstallIn annotation. This is useful in cases where non-Hilt Dagger code must be used long-term. If the issue is widespread, consider changing the error behavior with the compiler flag dagger.hilt.disableModulesHaveInstallInCheck instead.