Annotation Type Plugin.Factory.UsingReflection.Priority

Enclosing class:
Plugin.Factory.UsingReflection

@Documented @Target(CONSTRUCTOR) @Retention(RUNTIME) public static @interface Plugin.Factory.UsingReflection.Priority
Indicates that a constructor should be treated with a given priority if several constructors can be resolved.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Indicates the priority of the annotated constructor.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default priority that is assumed for non-annotated constructors.
  • Field Details

    • DEFAULT

      static final int DEFAULT
      The default priority that is assumed for non-annotated constructors.
      See Also:
  • Element Details

    • value

      int value
      Indicates the priority of the annotated constructor.
      Returns:
      The priority of the annotated constructor.