Annotation Type EarlyEntryPoint

  • @Beta
    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:


    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).