See #91 (comment):
This could use a lint check: createViewController returns a ViewController instance, but a compile time check for V is not possible, see https://stackoverflow.com/questions/43790137/why-cant-type-parameter-in-kotlin-have-any-other-bounds-if-its-bounded-by-anot
The lint check could check Scenes implementing ViewControllerFactory and check whether the return type of createViewController also adheres to the Scene's Container type.
Also, a Lint check checking whether ViewProvidingScene is only used with Scenes can be created (#91 (comment)).
See #91 (comment):
Also, a Lint check checking whether
ViewProvidingSceneis only used with Scenes can be created (#91 (comment)).