JSConstructor (rhino 1.7.15 API)

Package org.mozilla.javascript.annotations

## Annotation Type JSConstructor

-     @Documented
      @Retention(RUNTIME)
      @Target({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)`.