Annotation Interface BindExternalFunction


@Documented @Target(TYPE) @Retention(RUNTIME) @Repeatable(Multiple.class) public @interface BindExternalFunction
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
     
     
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
    Determines if this function is pure or not.
  • Element Details

    • as

      String as
      Default:
      ""
    • pure

      boolean pure
      Determines if this function is pure or not.

      A pure function is a function that has the following properties:

      1. The function return values are identical for identical arguments, and
      2. The function has no side effects

      The compiler or interpreter may pre-evaluate these functions ahead of time. In case of compiling, the function may be called during compile time, to use the function's result instead.

      Returns:
      If this function is pure or not.
      Since:
      3.0.0
      Default:
      false