Package | Description |
---|---|
com.google.gwt.core.ext |
Classes used to extend the GWT compiler.
|
com.google.gwt.core.ext.linker.impl | |
com.google.gwt.core.linker |
A package containing implementations of the GWT bootstrap linkers.
|
com.google.gwt.dev | |
com.google.gwt.dev.cfg | |
com.google.gwt.dev.javac | |
com.google.gwt.dev.jjs | |
com.google.gwt.dev.shell | |
com.google.gwt.precompress.linker |
A linker that precompresses the public artifacts that it sees.
|
com.google.gwt.soyc | |
com.google.gwt.user.linker.rpc |
Classes used to provide information about RPC for a GWT application.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
Linker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
This method is invoked for linkers not annotated with
Shardable . |
ArtifactSet |
Linker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
This method is invoked for linkers annotated with
Shardable . |
ArtifactSet |
Linker.relink(TreeLogger logger,
LinkerContext context,
ArtifactSet newArtifacts)
Re-invoke the Linker with newly generated artifacts.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
Linker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
This method is invoked for linkers not annotated with
Shardable . |
ArtifactSet |
Linker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
This method is invoked for linkers annotated with
Shardable . |
ArtifactSet |
Linker.relink(TreeLogger logger,
LinkerContext context,
ArtifactSet newArtifacts)
Re-invoke the Linker with newly generated artifacts.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
StandardLinkerContext.getArtifactsForPublicResources(TreeLogger logger,
ModuleDef module)
Convert all static resources in the specified module to artifacts.
|
ArtifactSet |
StandardLinkerContext.invokeFinalLink(TreeLogger logger,
ArtifactSet artifacts) |
ArtifactSet |
StandardLinkerContext.invokeLegacyLinkers(TreeLogger logger,
ArtifactSet artifacts)
Run linkers that have not been updated for the shardable API.
|
ArtifactSet |
StandardLinkerContext.invokeLinkForOnePermutation(TreeLogger logger,
StandardCompilationResult permResult,
ArtifactSet permArtifacts)
Invoke the shardable linkers on one permutation result.
|
ArtifactSet |
StandardLinkerContext.invokeRelink(TreeLogger logger,
ArtifactSet newlyGeneratedArtifacts) |
ArtifactSet |
SelectionScriptLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
This method is left in place for existing subclasses of SelectionScriptLinker that have not
been upgraded for the sharding API.
|
ArtifactSet |
StandardLinkerContext.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
ArtifactSet |
HostedModeLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
ArtifactSet |
SelectionScriptLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Artifact<?>> |
SelectionScriptLinker.doEmitCompilation(TreeLogger logger,
LinkerContext context,
CompilationResult result,
ArtifactSet artifacts) |
protected EmittedArtifact |
SelectionScriptLinker.emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected String |
SelectionScriptLinker.fillSelectionScriptTemplate(StringBuffer selectionScript,
TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result)
Generate a selection script.
|
protected String |
SelectionScriptLinker.generateDeferredFragment(TreeLogger logger,
LinkerContext context,
int fragment,
String js,
ArtifactSet artifacts,
CompilationResult result) |
protected byte[] |
SelectionScriptLinker.generatePrimaryFragment(TreeLogger logger,
LinkerContext context,
CompilationResult result,
String[] js,
ArtifactSet artifacts)
Generate the primary fragment.
|
protected String |
SelectionScriptLinker.generatePrimaryFragmentString(TreeLogger logger,
LinkerContext context,
CompilationResult result,
String js,
int length,
ArtifactSet artifacts) |
protected String |
SelectionScriptLinker.generateSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
String |
HostedModeLinker.generateSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
TODO: When this class is removed, move SelectionScriptLinker to gwt-user.
|
protected String |
SelectionScriptLinker.generateSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result) |
static StringBuffer |
ResourceInjectionUtil.injectResources(StringBuffer selectionScript,
ArtifactSet artifacts)
Installs stylesheets and scripts.
|
static StringBuffer |
ResourceInjectionUtil.injectStylesheets(StringBuffer selectionScript,
ArtifactSet artifacts)
Installs stylesheets using the installOneStylesheet method, which is
assumed to be defined on the page.
|
ArtifactSet |
StandardLinkerContext.invokeFinalLink(TreeLogger logger,
ArtifactSet artifacts) |
ArtifactSet |
StandardLinkerContext.invokeLegacyLinkers(TreeLogger logger,
ArtifactSet artifacts)
Run linkers that have not been updated for the shardable API.
|
ArtifactSet |
StandardLinkerContext.invokeLinkForOnePermutation(TreeLogger logger,
StandardCompilationResult permResult,
ArtifactSet permArtifacts)
Invoke the shardable linkers on one permutation result.
|
ArtifactSet |
StandardLinkerContext.invokeRelink(TreeLogger logger,
ArtifactSet newlyGeneratedArtifacts) |
ArtifactSet |
SelectionScriptLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
This method is left in place for existing subclasses of SelectionScriptLinker that have not
been upgraded for the sharding API.
|
ArtifactSet |
StandardLinkerContext.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
ArtifactSet |
HostedModeLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
ArtifactSet |
SelectionScriptLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
protected void |
SelectionScriptLinker.maybeAddHostedModeFile(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result)
Add the Development Mode file to the artifact set.
|
protected void |
SelectionScriptLinker.maybeOutputPropertyMap(TreeLogger logger,
LinkerContext context,
ArtifactSet toReturn) |
void |
StandardLinkerContext.produceOutput(TreeLogger logger,
ArtifactSet artifacts,
EmittedArtifact.Visibility visibility,
OutputFileSet out)
Emit EmittedArtifacts artifacts onto
out . |
void |
PermutationsUtil.setupPermutationsMap(ArtifactSet artifacts)
Find all instances of
SelectionInformation and add them to the
internal map of selection information. |
protected String |
SelectionScriptLinker.wrapDeferredFragment(TreeLogger logger,
LinkerContext context,
int fragment,
String script,
ArtifactSet artifacts) |
protected String |
SelectionScriptLinker.wrapPrimaryFragment(TreeLogger logger,
LinkerContext context,
String script,
ArtifactSet artifacts,
CompilationResult result) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
SymbolMapsLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
Included to support legacy non-shardable subclasses.
|
ArtifactSet |
IFrameLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
Deprecated.
|
ArtifactSet |
SymbolMapsLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
ArtifactSet |
XSLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
Deprecated.
|
ArtifactSet |
SoycReportLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Artifact<?>> |
D8ScriptLinker.doEmitCompilation(TreeLogger logger,
LinkerContext context,
CompilationResult result,
ArtifactSet artifacts) |
protected Collection<Artifact<?>> |
SingleScriptLinker.doEmitCompilation(TreeLogger logger,
LinkerContext context,
CompilationResult result,
ArtifactSet artifacts) |
protected void |
SymbolMapsLinker.doEmitSymbolMap(TreeLogger logger,
ArtifactSet artifacts,
CompilationResult result,
ByteArrayOutputStream out)
Override to change the manner in which the symbol map is emitted.
|
protected EmittedArtifact |
D8ScriptLinker.emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected EmittedArtifact |
SingleScriptLinker.emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected String |
CrossSiteIframeLinker.fillSelectionScriptTemplate(StringBuffer ss,
TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result) |
ArtifactSet |
SymbolMapsLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts)
Included to support legacy non-shardable subclasses.
|
ArtifactSet |
IFrameLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
Deprecated.
|
ArtifactSet |
SymbolMapsLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
ArtifactSet |
XSLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation)
Deprecated.
|
ArtifactSet |
SoycReportLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
protected void |
CrossSiteIframeLinker.maybeAddHostedModeFile(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result) |
protected void |
CrossSiteIframeLinker.maybeOutputPropertyMap(TreeLogger logger,
LinkerContext context,
ArtifactSet toReturn) |
protected String |
XSLinker.wrapDeferredFragment(TreeLogger logger,
LinkerContext context,
int fragment,
String js,
ArtifactSet artifacts)
Deprecated.
|
protected String |
CrossSiteIframeLinker.wrapDeferredFragment(TreeLogger logger,
LinkerContext context,
int fragment,
String js,
ArtifactSet artifacts) |
protected String |
CrossSiteIframeLinker.wrapPrimaryFragment(TreeLogger logger,
LinkerContext context,
String script,
ArtifactSet artifacts,
CompilationResult result) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
MinimalRebuildCache.getGeneratedArtifacts() |
ArtifactSet |
NullRebuildCache.getGeneratedArtifacts() |
ArtifactSet |
Precompilation.getGeneratedArtifacts()
Returns the set of generated artifacts from the precompile phase.
|
static ArtifactSet |
Link.simulateTransferThinning(ArtifactSet artifacts,
StandardLinkerContext context)
In a parallel build, artifact sets are thinned down in transit between
compilation and linking.
|
Modifier and Type | Method and Description |
---|---|
void |
MinimalRebuildCache.addGeneratedArtifacts(ArtifactSet generatedArtifacts)
Accumulates generated artifacts so that they can be output on recompiles even if no generators
are run.
|
void |
NullRebuildCache.addGeneratedArtifacts(ArtifactSet generatedArtifacts) |
static void |
Link.link(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
Permutation[] permutations,
List<PersistenceBackedObject<PermutationResult>> resultFiles,
Set<PermutationResult> libraries,
PrecompileTaskOptions precompileOptions,
Link.LinkOptions linkOptions) |
static void |
Link.linkOnePermutationToJar(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
PermutationResult permResult,
File jarFile,
PrecompileTaskOptions precompileOptions)
This link operation is performed on a CompilePerms shard for one
permutation.
|
protected void |
DevMode.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
protected abstract void |
DevModeBase.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
static ArtifactSet |
Link.simulateTransferThinning(ArtifactSet artifacts,
StandardLinkerContext context)
In a parallel build, artifact sets are thinned down in transit between
compilation and linking.
|
Constructor and Description |
---|
Precompilation(UnifiedAst unifiedAst,
Collection<Permutation> permutations,
ArtifactSet generatedArtifacts) |
Precompilation(UnifiedAst unifiedAst,
Collection<Permutation> permutations,
int permutationBase,
ArtifactSet generatedArtifacts)
Constructs a new precompilation.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
ZipLibrary.getGeneratedArtifacts() |
ArtifactSet |
LibraryGroup.getGeneratedArtifacts() |
ArtifactSet |
Library.getGeneratedArtifacts()
Returns the set of artifacts that were created by generators when compiling this library.
|
Modifier and Type | Method and Description |
---|---|
void |
ZipLibraryWriter.addGeneratedArtifacts(ArtifactSet generatedArtifacts) |
void |
LibraryWriter.addGeneratedArtifacts(ArtifactSet generatedArtifacts)
Adds a generated artifact.
|
void |
NullLibraryWriter.addGeneratedArtifacts(ArtifactSet generatedArtifacts) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
StandardGeneratorContext.finish(TreeLogger logger)
Call this whenever generators are known to not be running to clear out
uncommitted compilation units and to force committed compilation units to
be parsed and added to the type oracle.
|
ArtifactSet |
StandardGeneratorContext.getArtifacts()
Gets newly committed artifacts.
|
ArtifactSet |
CachedGeneratorResultImpl.getArtifacts() |
Constructor and Description |
---|
CachedGeneratorResultImpl(String resultTypeName,
ArtifactSet artifacts,
Map<String,GeneratedUnit> generatedUnitMap,
long timeGenerated) |
CachedGeneratorResultImpl(String resultTypeName,
ArtifactSet artifacts,
Map<String,GeneratedUnit> generatedUnitMap,
long timeGenerated,
Map<String,Serializable> clientDataMap) |
StandardGeneratorContext(CompilerContext compilerContext,
CompilationState compilationState,
ArtifactSet allGeneratedArtifacts,
boolean isProdMode)
Normally, the compiler host would be aware of the same types that are
available in the supplied type oracle although it isn't strictly required.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
PermutationResult.getArtifacts()
Returns any Artifacts that may have been created as a result of compiling
the permutation.
|
Modifier and Type | Method and Description |
---|---|
void |
ArtifactAcceptor.accept(TreeLogger logger,
ArtifactSet newlyGeneratedArtifacts)
Called whenever new artifacts are generated.
|
void |
BrowserListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
void |
CodeServerListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink)
Writes compiler output to the right places so that the browser will see
the newly compiled GWT code.
|
void |
SuperDevListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
PrecompressLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
PrecompressLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
CompilerMetricsXmlFormatter.writeMetricsAsXml(ArtifactSet artifacts,
ModuleMetricsArtifact moduleMetrics) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
RpcLogLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
ArtifactSet |
RpcPolicyManifestLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
RpcLogLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
ArtifactSet |
RpcPolicyManifestLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Copyright © 2018. All rights reserved.