sting-ioc / sting

Home Page:https://sting-ioc.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate a error if a Fragment type encloses other Fragments or Injectable types

realityforge opened this issue · comments

The annotation processor should generate an error if a type annotated by @Fragment contains another class that is annotated with either @Fragment or @Injectable. Unlike injectors, fragments do not auto-include enclosed types and thus this may be a confusing construct.