Annotation Type DecoratorOrder


  • @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    public @interface DecoratorOrder
    Determines the order in which SQL method decorators are invoked. If this annotation is absent, the decorator order is undefined. A @DecoratorOrder annotation on a method takes precedence over an annotation on a type.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<? extends Annotation>[] value
      The order that decorator annotations will be applied, from outermost to innermost.
    • Element Detail

      • value

        Class<? extends Annotation>[] value
        The order that decorator annotations will be applied, from outermost to innermost. Decorator order is undefined for any decorating annotation present on the SQL method but not on this annotation.
        Returns:
        the annotations in the order you like