Annotation Interface Root


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Root
Русский: Указывает что Component является корнем в графе контейнера и подлежит обязательной регистрации в графе даже если не требуется как зависимость другими компонентами.
English: Indicates that Component is the root in the container graph and must be registered in the graph even if it is not required as a dependency by other components.

Пример / Example:
  
  @Root
  @Component
  class MyService { }