Annotation Type ProcessesAnnotation



  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    @Repeatable(ProcessesAnnotations.class)
    public @interface ProcessesAnnotation
    Denotes the annotation types which are processed by the component.

    To simply use value and required are synonymous and either can be used. If both are used they are merged into a combined list.

    Optional types are not needed in order for the component to generate output, but they may enhance the processing.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Annotation type processed
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends Bounds> bounds
      Annotation bounds processed
      boolean optional
      Is the annotation required for the component to function?
    • Element Detail

      • value

        String value
        Annotation type processed
        Returns:
        annotation types
      • bounds

        Class<? extends Bounds> bounds
        Annotation bounds processed
        Returns:
        the bound classes (defaults to Bounds.class meaning any, but should be made as specific as possible)
        Default:
        io.annot8.core.bounds.Bounds.class
      • optional

        boolean optional
        Is the annotation required for the component to function?
        Returns:
        true if optional, default is false
        Default:
        false