Annotation Type Group
-
@Target(METHOD) @Retention(CLASS) public @interface GroupThis annotation can be used on any injector callback to define a value for total required injections across multiple callbacks. Much likeInject.require()it can be used to treat an injection failure as a critical error, however the require value specified applies to all injectors in the group. This can be used, for example, for 'surrogate' injectors where multiple injectors exist but only one is expected to succeed.