Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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)`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT