GWT 2.1.1

com.google.gwt.core.client
Annotation Type GwtScriptOnly


@Documented
@Target(value=TYPE)
public @interface GwtScriptOnly

This annotation is used to break out of a module's source path in hosted mode. Types annotated with this annotation will not be loaded by hosted mode's CompilingClassLoader. Instead, the bytecode for the type will be loaded from the system classloader.

This annotation is typically combined with the super-source tag to provide web-mode implementations of (binary-only) types that the developer wishes to use in hosted mode. This can be used, for instance, to provide a reference implementation to develop unit tests.


GWT 2.1.1