fun subcomponent(vararg qualifiers: Any): Component
Returns a subcomponent by its qualifier or a nested subcomponent by its path of qualifiers.
Main usage for this is to restructure components when using Builder.include in conjunction with Builder.SubcomponentIncludeMode.DoNotInclude.
qualifiers
- The qualifier/path of qualifiers of the subcomponent
EntryNotFoundException
- If the component does not exist.
Return
The subcomponent