Annotation Interface Function


@Retention(RUNTIME) @Target(METHOD) public @interface Function
Function annotation for method to import java class public method.
Since:
4.2.4
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Rename the method name as the imported function name.
  • Element Details

    • rename

      String rename
      Rename the method name as the imported function name.
      Returns:
      the new name for function.
      Default:
      ""