Annotation Interface Component.Factory

Enclosing class:
Component

@Retention(SOURCE) @Target(TYPE) @Documented public static @interface Component.Factory
This annotation goes on an interface. The interface definition must be nested inside the component interface. The factory interface must have exactly one interface method. The factory method's return type must match the type of the component class.