Annotation Interface EarlyEntryPoint


@Beta @Retention(RUNTIME) @Target(TYPE) public @interface EarlyEntryPoint
An escape hatch for when a Hilt entry point usage needs to be called before the singleton component is available in a Hilt test.

Warning: Please see documentation for more details: https://dagger.dev/hilt/early-entry-point

Usage:

To enable an existing entry point to be called early in a Hilt test, replace its EntryPoint annotation with EarlyEntryPoint. (Note that, EarlyEntryPoint is only allowed on entry points installed in the SingletonComponent).