Package org.mozilla.javascript
Interface RefCallable
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RefrefCall(Context cx, Scriptable thisObj, java.lang.Object[] args)Perform function call in reference context. 
 - 
 
- 
- 
Method Detail
- 
refCall
Ref refCall(Context cx, Scriptable thisObj, java.lang.Object[] args)
Perform function call in reference context. The args array reference should not be stored in any object that is can be GC-reachable after this method returns. If this is necessary, for example, to implementRefmethods, then store args.clone(), not args array itself.- Parameters:
 cx- the current Context for this threadthisObj- the JavaScriptthisobjectargs- the array of arguments
 
 - 
 
 -