Package dagger.hilt.migration
Annotation Type DisableInstallInCheck
-
public @interface DisableInstallInCheck
Marks aModule
-annotated class to allow it to have noInstallIn
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 flagdagger.hilt.disableModulesHaveInstallInCheck
instead.