Annotation Type Priority


  • @Retention(RUNTIME)
    public @interface Priority
    This annotation has the same semantics as Priority except that the Target meta-annotation is not present. The main motivation is to support method and field declarations, i.e. this annotation can be used for producer methods and fields. Note that this problem is fixed in Common Annotations 2.1.

    A priority specified by AlternativePriority and Priority takes precedence.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value  
    • Element Detail

      • value

        int value