/** * Makes a best-effort attempt to get a useful debugging string describing the * given JavaScriptObject. In Production Mode with assertions disabled, this * will either call and return the JSO's toString() if one exists, or just * return "[JavaScriptObject]". In Development Mode, or with assertions * enabled, some stronger effort is made to represent other types of JSOs, * including inspecting for document nodes' outerHTML and innerHTML, etc. */ @Override public final String toString() { return JavaScriptObject.class.desiredAssertionStatus() ? toStringVerbose(this) : toStringSimple(this); }
/** * Makes a best-effort attempt to get a useful debugging string describing the * given JavaScriptObject. In Production Mode with assertions disabled, this * will either call and return the JSO's toString() if one exists, or just * return "[JavaScriptObject]". In Development Mode, or with assertions * enabled, some stronger effort is made to represent other types of JSOs, * including inspecting for document nodes' outerHTML and innerHTML, etc. */ @Override public final String toString() { return JavaScriptObject.class.desiredAssertionStatus() ? toStringVerbose(this) : toStringSimple(this); }
/** * Makes a best-effort attempt to get a useful debugging string describing the * given JavaScriptObject. In Production Mode with assertions disabled, this * will either call and return the JSO's toString() if one exists, or just * return "[JavaScriptObject]". In Development Mode, or with assertions * enabled, some stronger effort is made to represent other types of JSOs, * including inspecting for document nodes' outerHTML and innerHTML, etc. */ @Override public final String toString() { return JavaScriptObject.class.desiredAssertionStatus() ? toStringVerbose(this) : toStringSimple(this); } }
/** * Makes a best-effort attempt to get a useful debugging string describing the * given JavaScriptObject. In Production Mode with assertions disabled, this * will either call and return the JSO's toString() if one exists, or just * return "[JavaScriptObject]". In Development Mode, or with assertions * enabled, some stronger effort is made to represent other types of JSOs, * including inspecting for document nodes' outerHTML and innerHTML, etc. */ @Override public final String toString() { return JavaScriptObject.class.desiredAssertionStatus() ? toStringVerbose(this) : toStringSimple(this); } }