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