Very close, but I think the Java optimizer won't be able to figure that out
as early as we'd like.
How about something like this?

public final String toString() {
  return JavaScriptObject.class.desiredAssertionStatus() ?
toStringVerbose()? : toStringSimple();
}

On Mon, Apr 6, 2009 at 1:48 AM, Freeland Abbott <fabb...@google.com> wrote:

> Scott,
>
> is this what you were suggesting, to lighten JavaScriptObject.toString()
> for micro-apps?
>
>
>

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

Reply via email to