On Tue, Mar 23, 2010 at 2:48 PM, 王在祥 <[email protected]> wrote:
> My problem is: Where is the entry point of the __static method? Is it
> a JavaScript function or a C native function?
As Bob mentioned, it is set by DevMode startup. This is the JSNI method
which is loaded to set it:
function __defineStatic(__arg0) { window.__static = __arg0; }
and then it is called with a Java object which holds all the static methods.
You can see where it is setup in ModuleSpace.onLoad.
--
John A. Tamplin
Software Engineer (GWT), Google
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
To unsubscribe from this group, send email to
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this
email with the words "REMOVE ME" as the subject.