Annotation Type Priority


@Documented @Retention(RUNTIME) @Target(TYPE) @API(status=STABLE, since="0.1") public @interface Priority
Annotation for generators priority.
Since:
0.1
Version:
1.0, 2022-10
Author:
(w) Iker Hernaez
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Returns the priority of the generator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The priority for built in native types generators.
    static final int
    The default priority.
    static final int
    The priority for built in generic types generators.
    static final int
    The maximum priority.
    static final int
    The minimum priority.
    static final int
    The priority for built in native types generators.
  • Field Details

    • DEFAULT

      static final int DEFAULT
      The default priority.
      See Also:
    • MIN

      static final int MIN
      The minimum priority.
      See Also:
    • ANNOTATION_GENERATORS

      static final int ANNOTATION_GENERATORS
      The priority for built in native types generators.
      See Also:
    • NATIVE_GENERATORS

      static final int NATIVE_GENERATORS
      The priority for built in native types generators.
      See Also:
    • GENERIC_GENERATORS

      static final int GENERIC_GENERATORS
      The priority for built in generic types generators.
      See Also:
    • MAX

      static final int MAX
      The maximum priority.
      See Also:
  • Element Details

    • value

      int value
      Returns the priority of the generator.
      Returns:
      The priority of the generator
      Default:
      0