Defines a linker for the GWT compiler. Each Linker must be annotated with a {@link com.google.gwt.core.ext.linker.LinkerOrder} annotation to determinethe relative ordering of the Linkers. Exact order of Linker execution will be determined by the order of
add-linker
tags in the module configuration.
A new instance of a linker is created each time a module is compiled or during hosted mode when a module first loads (or is refreshed). During a compile, {@link #link(TreeLogger,LinkerContext,ArtifactSet)} will be calledexactly once, and the artifact set will contain any and all generated artifacts. . In hosted mode, {@link #link(TreeLogger,LinkerContext,ArtifactSet)} is called initially,but with no generated artifacts. If any artifacts are subsequently generated during the course of running hosted mode, {@link #relink(TreeLogger,LinkerContext,ArtifactSet)} will be called withthe new artifacts.