Annotation Interface InjectionInfo.InjectorOrder

Enclosing class:
InjectionInfo

@Retention(RUNTIME) @Target(TYPE) public static @interface InjectionInfo.InjectorOrder
Decoration for subclasses which specifies the order (phase) in which the injector should be applied relative to other injectors. Built-in injectors except for redirectors all run at DEFAULT unless specified in the injector annotation.

Injectors in the same order are sorted by mixin priority and declaration order within the mixin as always.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    String prefix for conforming handler methods
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Injector which should run after redirect injector
    static final int
    Default order, all injectors except redirect run here unless manually adjusted
    static final int
    An early injector, run before most injectors
    static final int
    Late injector, runs after most injectors but before redirects
    static final int
    Built-in order for Redirect injectors
  • Field Details

    • EARLY

      static final int EARLY
      An early injector, run before most injectors
      See Also:
    • DEFAULT

      static final int DEFAULT
      Default order, all injectors except redirect run here unless manually adjusted
      See Also:
    • LATE

      static final int LATE
      Late injector, runs after most injectors but before redirects
      See Also:
    • REDIRECT

      static final int REDIRECT
      Built-in order for Redirect injectors
      See Also:
    • AFTER_REDIRECT

      static final int AFTER_REDIRECT
      Injector which should run after redirect injector
      See Also:
  • Element Details

    • value

      int value
      String prefix for conforming handler methods
      Default:
      1000