cannot be created directly.
should be declared as the return type of a
JSNI method that returns native (non-Java) objects. A
passed back into JSNI from Java becomes the
Returns an empty function.
, for lighter "more production" code.
, when Development Mode or assertions are on.
Not directly instantiable. All subclasses must also define a protected,
empty, no-arg constructor.
A helper method to enable cross-casting from any
type to any other
<> the target type
- this object as a different type
Uses a monotonically increasing counter to assign a hash code to the
TODO: if the underlying object defines a 'hashCode' method maybe use that?
- the hash code of the object
Call the toSource() on the JSO.
Makes a best-effort attempt to get a useful debugging string describing the
will either call and return the JSO's toString() if one exists, or just
enabled, some stronger effort is made to represent other types of JSOs,
including inspecting for document nodes' outerHTML and innerHTML, etc.