Annotation Type FunctionParameter


  • @Documented
    @Target(TYPE)
    @Repeatable(FunctionParameters.class)
    @Retention(RUNTIME)
    public @interface FunctionParameter
    Annotation to define a function parameter.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The parameter name.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isLazy
      If the parameter is lazily evaluated.
      boolean isVarArg
      If the parameter is a variable arg type (repeatable).
      boolean nonNegative
      If the parameter does not allow negative values.
      boolean nonZero
      If the parameter does not allow zero values.
    • Element Detail

      • name

        java.lang.String name
        The parameter name.
      • isLazy

        boolean isLazy
        If the parameter is lazily evaluated. Defaults to false.
        Default:
        false
      • isVarArg

        boolean isVarArg
        If the parameter is a variable arg type (repeatable). Defaults to false.
        Default:
        false
      • nonZero

        boolean nonZero
        If the parameter does not allow zero values.
        Default:
        false
      • nonNegative

        boolean nonNegative
        If the parameter does not allow negative values.
        Default:
        false