|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=SOURCE) @Target(value={METHOD,CONSTRUCTOR}) @Documented public @interface NeedsContext
An indication that this method requires access to the current JavaScript context. This indicates that the method should contain within it one of:
ContextFactory.call(org.mozilla.javascript.ContextAction)
.
ContextFactory.enterContext()
and Context#exit()
TODO: enforce this annotation programmatically.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |