@LinkerOrder(value=PRIMARY) @Shardable public class SingleScriptLinker extends com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
Constructor and Description |
---|
SingleScriptLinker() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Artifact<?>> |
doEmitCompilation(TreeLogger logger,
LinkerContext context,
CompilationResult result,
ArtifactSet artifacts) |
protected EmittedArtifact |
emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected java.lang.String |
getCompilationExtension(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
java.lang.String |
getDescription()
Returns a human-readable String describing the Linker.
|
protected java.lang.String |
getModulePrefix(TreeLogger logger,
LinkerContext context,
java.lang.String strongName)
Unimplemented.
|
protected java.lang.String |
getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
charsPerChunk, emitSelectionInformation, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix2, getFragmentSubdir, getHostedFilename, getModulePrefix, getModuleSuffix2, getScriptChunkSeparator, link, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapDeferredFragment, wrapPrimaryFragment
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
public java.lang.String getDescription()
Linker
getDescription
in class Linker
protected java.util.Collection<Artifact<?>> doEmitCompilation(TreeLogger logger, LinkerContext context, CompilationResult result, ArtifactSet artifacts) throws UnableToCompleteException
doEmitCompilation
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException
protected EmittedArtifact emitSelectionScript(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) throws UnableToCompleteException
emitSelectionScript
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException
protected java.lang.String getCompilationExtension(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet)
.getCompilationExtension
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException
protected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet)
.getModulePrefix
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException
protected java.lang.String getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
getSelectionScriptTemplate
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException