Annotation Type HelperFunction


@Retention(RUNTIME) public @interface HelperFunction
Decorates a method that represents a helper function extracted via a "helper source" with metadata that cannot be inferred from its signature, such as a custom helper name.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name used to invoke the decorated helper function in a handlebars template.
  • Element Details

    • value

      String value
      The name used to invoke the decorated helper function in a handlebars template.
      Returns:
      Name or null/empty to use default method name.