Package org.mozilla.javascript.annotations

## Annotation Type JSFunction

-     @Documented
      @Retention(RUNTIME)
      @Target(METHOD)
      public @interface JSFunction

  An annotation that marks a Java method as JavaScript function. This can be used as an alternative to the `jsFunction_` prefix desribed in `ScriptableObject.defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)`.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `java.lang.String` | `value` |

- - ### Element Detail

    - #### value

          java.lang.String value

      Default:
        ""