Annotation Interface Function


@Retention(RUNTIME) @Target({METHOD,TYPE}) @Inherited @Documented public @interface Function
Indicates that either a method is a function (if placed on a method), or that all public methods in a class are functions (if placed on a class). The method name will be used as the function name. Use the @Category annotation to designate which category should contain the function. Use the @Type annotation to indicate the return type. Describe additional behaviors of the parameters to the function using the @Parameter annotation.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Deprecated.
    since 6.0.3.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Field Details

  • Element Details

    • returnType

      @Deprecated int returnType
      Deprecated.
      since 6.0.3. Use the @Type annotation instead.
      The AppianType this function returns.
      Returns:
      See Also:
      Default:
      -2147483648