Annotation Type EnumSources


  • @Target({ANNOTATION_TYPE,METHOD,TYPE})
    @Retention(RUNTIME)
    @Documented
    @Inherited
    @API(status=STABLE,
         since="5.11")
    public @interface EnumSources
    @EnumSources is a simple container for one or more EnumSource annotations.

    Note, however, that use of the @EnumSources container is completely optional since @EnumSource is a repeatable annotation.

    Inheritance

    This annotation is inherited to subclasses.

    Since:
    5.11
    See Also:
    EnumSource, Repeatable
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      EnumSource[] value
      An array of one or more @EnumSource annotations.