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


 @SupportedFor({ MyProcessor.class, AnotherProcessor.class })
 public class MyFunctionTools implements FunctionTools {
     // ...
 }
 
Since:
1.2.0
Author:
Viktor Tovstyi
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    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