Reviewers: bobv,

Description:
This patch allows JSNI references to non-overloaded methods to use ?? as
the parameter list.  This saves a typing for the most common references
to methods.


Implementation notes:

The best place to look first is JavaAccessFromJavaScriptTest.java .
This adds tests for JSNI refs, including JSNI refs that use ?? .

The other tests in there test individual classes in the implementation.

In the implemantation, the updates are:

Tokenizer -- for tokenizing JSNI refs that use ??
JsniRef -- for parsing them
JsniRefLookup -- for looking them up in prod mode
ClassDispatchInfo -- for looking them up in dev mode


Please review this at http://gwt-code-reviews.appspot.com/126817

Affected files:
   dev/core/src/com/google/gwt/dev/jjs/impl/JsniRefLookup.java
   dev/core/src/com/google/gwt/dev/js/rhino/TokenStream.java
   dev/core/src/com/google/gwt/dev/shell/DispatchClassInfo.java
   dev/core/src/com/google/gwt/dev/util/JsniRef.java
   dev/core/test/com/google/gwt/dev/jjs/impl/JsniRefLookupTest.java
   dev/core/test/com/google/gwt/dev/js/TokenStreamTest.java
   dev/core/test/com/google/gwt/dev/shell/DispatchClassInfoTest.java
   dev/core/test/com/google/gwt/dev/util/JsniRefTest.java
   user/test/com/google/gwt/dev/jjs/CompilerSuite.java
   user/test/com/google/gwt/dev/jjs/test/JavaAccessFromJavaScriptTest.java


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to