java.lang.Object | |
↳ | com.google.gwt.core.client.impl.Impl |
Private implementation class for GWT core. This API is should not be considered public or stable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method should be used whenever GWT code is entered from a JS context
and there is no GWT code in the same module on the call stack.
| |||||||||||
Gets an identity-based hash code on the passed-in Object by adding an
expando.
| |||||||||||
Returns the obfuscated name of members in the compiled output.
| |||||||||||
Indicates if
$entry has been called. | |||||||||||
Indicates if
$entry is present on the stack more than once. | |||||||||||
Implicitly called by JavaToJavaScriptCompiler.findEntryPoints().
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This method should be used whenever GWT code is entered from a JS context and there is no GWT code in the same module on the call stack. Examples include event handlers, exported methods, and module initialization.
The GWT compiler and Development Mode will provide a module-scoped
variable, $entry
, which is an alias for this method.
This method can be called reentrantly, which will simply delegate to the function.
The function passed to this method will be invoked via
Function.apply()
with the current this
value and
the invocation arguments passed to $entry
.
jsFunction | a JS function to invoke, which is typically a JSNI reference to a static Java method |
---|
jsFunction
is invoked, or
undefined
if the UncaughtExceptionHandler catches an
exception raised by jsFunction
Gets an identity-based hash code on the passed-in Object by adding an
expando. This method should not be used with null
or any
String. The former will crash and the later will produce unstable results
when called repeatedly with a String primitive.
The sequence of hashcodes generated by this method are a monotonically-increasing sequence.
Returns the obfuscated name of members in the compiled output. This is a thin wrapper around JNameOf AST nodes and is therefore meaningless to implement in Development Mode.
jsniIdent | a string literal specifying a type, field, or method. Raw type names may also be used to obtain the name of the type's seed function. |
---|
null
if the requested member has been pruned from the
output.Indicates if $entry
has been called.
Indicates if $entry
is present on the stack more than once.
Implicitly called by JavaToJavaScriptCompiler.findEntryPoints().