Annotation Type SupportedFor


@Retention(RUNTIME) public @interface SupportedFor
Indicates which application classes a FunctionTools implementation supports.

Annotate a FunctionTools class with @SupportedFor to specify the set of application classes (such as processors or providers) for which the tool is compatible. If the annotation is absent, the tool is considered compatible with all application classes.

Usage Example

Since:
1.2.0
Author:
Viktor Tovstyi
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
    Class<?>[]
    The set of application classes for which the annotated FunctionTools implementation is compatible.
  • Element Details

    • value

      Class<?>[] value
      The set of application classes for which the annotated FunctionTools implementation is compatible.
      Returns:
      array of supported application classes
      Default:
      {}
    • excludes

      Class<?>[] excludes
      Default:
      {}