JSConstructor (rhino 1.7.13 API)

org.mozilla.javascript.annotations

## Annotation Type JSConstructor

-     @Documented
       @Retention(value=RUNTIME)
       @Target(value={CONSTRUCTOR,METHOD})
      public @interface JSConstructor

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