Modifier and Type | Method and Description |
---|---|
void |
DelegatingGeneratorContext.commitArtifact(TreeLogger logger,
Artifact<?> artifact) |
void |
GeneratorContext.commitArtifact(TreeLogger logger,
Artifact<?> artifact)
Add an Artifact to the
ArtifactSet
that will be presented to the Linker chain at the end of the
compilation cycle. |
GeneratedResource |
DelegatingGeneratorContext.commitResource(TreeLogger logger,
OutputStream os) |
GeneratedResource |
GeneratorContext.commitResource(TreeLogger logger,
OutputStream os)
Commits resource generation begun with
GeneratorContext.tryCreateResource(TreeLogger, String) . |
String |
IncrementalGenerator.generate(TreeLogger logger,
GeneratorContext context,
String typeName)
This method overrides
Generator.generate(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String) , and is included only for
backwards compatibility. |
abstract String |
Generator.generate(TreeLogger logger,
GeneratorContext context,
String typeName)
Generate a default constructible subclass of the requested type.
|
abstract RebindResult |
IncrementalGenerator.generateIncrementally(TreeLogger logger,
GeneratorContext context,
String typeName)
Incrementally generate a default constructible subclass of the requested
type.
|
static RebindResult |
IncrementalGenerator.generateNonIncrementally(TreeLogger logger,
Generator generator,
GeneratorContext context,
String typeName)
A static helper method to wrap a non-incremental generator's result.
|
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 . |
String |
LinkerContext.optimizeJavaScript(TreeLogger logger,
String jsProgram)
Applies optimizations to a JavaScript program.
|
abstract void |
ServletContainer.refresh()
Causes the web app to pick up changes made within the app root dir while
running.
|
ArtifactSet |
Linker.relink(TreeLogger logger,
LinkerContext context,
ArtifactSet newArtifacts)
Re-invoke the Linker with newly generated artifacts.
|
abstract void |
ServletContainer.stop()
Stops the running servlet container.
|
OutputStream |
DelegatingGeneratorContext.tryCreateResource(TreeLogger logger,
String partialPath) |
OutputStream |
GeneratorContext.tryCreateResource(TreeLogger logger,
String partialPath)
Attempts to get an
OutputStream so that the caller can write
file contents into the named file underneath the compilation output
directory. |
Modifier and Type | Method and Description |
---|---|
protected SyntheticArtifact |
AbstractLinker.emitBytes(TreeLogger logger,
byte[] what,
String partialPath)
A helper method to create an artifact from an array of bytes.
|
protected SyntheticArtifact |
AbstractLinker.emitBytes(TreeLogger logger,
byte[] what,
String partialPath,
long lastModified)
A helper method to create an artifact from an array of bytes.
|
protected SyntheticArtifact |
AbstractLinker.emitInputStream(TreeLogger logger,
InputStream what,
String partialPath)
A helper method to create an artifact to emit the contents of an
InputStream.
|
protected SyntheticArtifact |
AbstractLinker.emitInputStream(TreeLogger logger,
InputStream what,
String partialPath,
long lastModified)
A helper method to create an artifact to emit the contents of an
InputStream.
|
protected SyntheticArtifact |
AbstractLinker.emitString(TreeLogger logger,
String what,
String partialPath)
A helper method to create an artifact to emit a String.
|
protected SyntheticArtifact |
AbstractLinker.emitString(TreeLogger logger,
String what,
String partialPath,
long lastModified)
A helper method to create an artifact to emit a String.
|
protected SyntheticArtifact |
AbstractLinker.emitWithStrongName(TreeLogger logger,
byte[] what,
String prefix,
String suffix)
A helper method to create an artifact from an array of bytes with a strong
name.
|
protected SyntheticArtifact |
AbstractLinker.emitWithStrongName(TreeLogger logger,
byte[] what,
String prefix,
String suffix,
long lastModified)
A helper method to create an artifact from an array of bytes with a strong
name.
|
String |
PropertyProviderGenerator.generate(TreeLogger logger,
SortedSet<String> possibleValues,
String fallback,
SortedSet<ConfigurationProperty> configProperties)
Generate a property provider.
|
InputStream |
SyntheticArtifact.getContents(TreeLogger logger) |
abstract InputStream |
EmittedArtifact.getContents(TreeLogger logger)
Provides access to the contents of the EmittedResource.
|
String |
SelectionProperty.getPropertyProvider(TreeLogger logger,
SortedSet<ConfigurationProperty> configProperties)
Returns a raw function body that provides the runtime value to be used for
a deferred binding property.
|
void |
SyntheticArtifact.writeTo(TreeLogger logger,
OutputStream out) |
void |
EmittedArtifact.writeTo(TreeLogger logger,
OutputStream out)
Provides access to the contents of the EmittedResource.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
PermutationsUtil.addPermutationsJs(StringBuffer selectionScript,
TreeLogger logger,
LinkerContext context)
Uses the internal map to insert JS to select a permutation into the
selection script.
|
static StringBuffer |
PropertiesUtil.addPropertiesJs(StringBuffer selectionScript,
TreeLogger logger,
LinkerContext context) |
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) |
static String |
PropertiesUtil.generatePropertiesSnippet(ModuleDef module,
TreeLogger compileLogger)
Returns JavaScript that declares and initializes the "providers" and "values" variables.
|
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) |
protected abstract String |
SelectionScriptLinker.getCompilationExtension(TreeLogger logger,
LinkerContext context) |
protected String |
HostedModeLinker.getCompilationExtension(TreeLogger logger,
LinkerContext context) |
InputStream |
BinaryOnlyArtifactWrapper.getContents(TreeLogger logger) |
InputStream |
StandardGeneratedResource.getContents(TreeLogger logger) |
InputStream |
StandardPublicResource.getContents(TreeLogger logger) |
InputStream |
JarEntryEmittedArtifact.getContents(TreeLogger logger) |
protected String |
SelectionScriptLinker.getFragmentSubdir(TreeLogger logger,
LinkerContext context)
Returns the subdirectory name to be used by getModulPrefix when requesting a runAsync module.
|
protected abstract String |
SelectionScriptLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName)
Compute the beginning of a JavaScript file that will hold the main module implementation.
|
protected String |
HostedModeLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName) |
protected String |
SelectionScriptLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName,
int numFragments)
Compute the beginning of a JavaScript file that will hold the main module implementation.
|
protected String |
SelectionScriptLinker.getModuleSuffix(TreeLogger logger,
LinkerContext context)
Deprecated.
|
protected String |
HostedModeLinker.getModuleSuffix(TreeLogger logger,
LinkerContext context) |
protected String |
SelectionScriptLinker.getModuleSuffix2(TreeLogger logger,
LinkerContext context,
String strongName)
Returns the suffix for the initial JavaScript fragment (new version).
|
String |
StandardSelectionProperty.getPropertyProvider(TreeLogger logger,
SortedSet<ConfigurationProperty> configProperties) |
protected abstract String |
SelectionScriptLinker.getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
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 |
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.
|
String |
StandardLinkerContext.optimizeJavaScript(TreeLogger logger,
String program) |
void |
StandardLinkerContext.produceOutput(TreeLogger logger,
ArtifactSet artifacts,
EmittedArtifact.Visibility visibility,
OutputFileSet out)
Emit EmittedArtifacts artifacts onto
out . |
protected StringBuffer |
SelectionScriptLinker.readFileToStringBuffer(String filename,
TreeLogger logger) |
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) |
void |
StandardGeneratedResource.writeTo(TreeLogger logger,
OutputStream out) |
Constructor and Description |
---|
StandardLinkerContext(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
JsOutputOption outputOption) |
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 void |
SymbolMapsLinker.doWriteSymbolMap(TreeLogger logger,
CompilationResult result,
PrintWriter pw)
Override to change the format of the symbol map.
|
protected EmittedArtifact |
D8ScriptLinker.emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected EmittedArtifact |
SingleScriptLinker.emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected SyntheticArtifact |
SymbolMapsLinker.emitSourceMapString(TreeLogger logger,
String contents,
String partialPath) |
protected String |
CrossSiteIframeLinker.fillSelectionScriptTemplate(StringBuffer ss,
TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result) |
protected String |
D8ScriptLinker.getCompilationExtension(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
protected String |
SingleScriptLinker.getCompilationExtension(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
protected String |
IFrameLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName)
Deprecated.
|
protected String |
D8ScriptLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName)
Unimplemented.
|
protected String |
SingleScriptLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName)
Unimplemented.
|
protected String |
CrossSiteIframeLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName) |
protected String |
IFrameLinker.getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName,
int numFragments)
Deprecated.
|
protected String |
D8ScriptLinker.getModuleSuffix(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
protected String |
SingleScriptLinker.getModuleSuffix(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
protected String |
D8ScriptLinker.getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
protected String |
SingleScriptLinker.getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
protected void |
CrossSiteIframeLinker.includeJs(StringBuffer selectionScript,
TreeLogger logger,
String jsSource,
String templateVar) |
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.
|
protected void |
CrossSiteIframeLinker.maybeAddHostedModeFile(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
CompilationResult result) |
protected String |
CrossSiteIframeLinker.wrapPrimaryFragment(TreeLogger logger,
LinkerContext context,
String script,
ArtifactSet artifacts,
CompilationResult result) |
Modifier and Type | Method and Description |
---|---|
static PermutationResult |
CompilePerms.compile(TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation,
UnifiedAst unifiedAst)
Compile a single permutation.
|
static void |
CompilePerms.compile(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] perms,
int localWorkers,
List<PersistenceBackedObject<PermutationResult>> resultFiles)
Compile multiple permutations.
|
static void |
PermutationWorkerFactory.compilePermutations(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
int localWorkers,
List<PersistenceBackedObject<PermutationResult>> resultFiles)
Compiles all Permutations in a Precompilation and returns an array of Files
that can be consumed by Link using the system-default
PermutationWorkersFactories.
|
static void |
PermutationWorkerFactory.compilePermutations(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] permutations,
int localWorkers,
List<PersistenceBackedObject<PermutationResult>> resultFiles)
Compiles a subset of the Permutations in a Precompilation and returns an
array of Files that can be consumed by Link using the system-default
PermutationWorkersFactories.
|
ModuleSpaceHost |
DevModeBase.UiBrowserWidgetHostImpl.createModuleSpaceHost(ModuleHandle module,
String moduleName) |
protected ShellModuleSpaceHost |
DevModeBase.doCreateShellModuleSpaceHost(TreeLogger logger,
CompilationState compilationState,
ModuleDef moduleDef)
Creates an instance of ShellModuleSpaceHost (or a derived class) using the
specified constituent parts.
|
abstract Collection<com.google.gwt.dev.PermutationWorker> |
PermutationWorkerFactory.getWorkers(TreeLogger logger,
UnifiedAst unifiedAst,
int numWorkers)
Return some number of PermutationWorkers.
|
Collection<com.google.gwt.dev.PermutationWorker> |
ThreadedPermutationWorkerFactory.getWorkers(TreeLogger logger,
UnifiedAst unifiedAst,
int numWorkers) |
Collection<com.google.gwt.dev.PermutationWorker> |
ExternalPermutationWorkerFactory.getWorkers(TreeLogger logger,
UnifiedAst unifiedAst,
int numWorkers) |
abstract void |
PermutationWorkerFactory.init(TreeLogger logger)
Initialize the PermutationWorkerFactory.
|
void |
ThreadedPermutationWorkerFactory.init(TreeLogger logger) |
void |
ExternalPermutationWorkerFactory.init(TreeLogger logger) |
protected StandardLinkerContext |
DevModeBase.link(TreeLogger logger,
ModuleDef module)
Perform an initial hosted mode link, without overwriting newer or
unmodified files in the output folder.
|
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 ModuleDef |
DevMode.loadModule(TreeLogger logger,
String moduleName,
boolean refresh) |
protected ModuleDef |
DevModeBase.loadModule(TreeLogger logger,
String moduleName,
boolean refresh)
Load a module.
|
protected URL |
DevMode.makeStartupUrl(String url) |
protected abstract URL |
DevModeBase.makeStartupUrl(String url) |
static Precompilation |
Precompile.precompile(TreeLogger logger,
CompilerContext compilerContext)
Precompiles the given module.
|
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) |
boolean |
CompileTaskRunner.CompileTask.run(TreeLogger logger) |
boolean |
PrecompileOnePerm.run(TreeLogger logger) |
boolean |
CompilePerms.run(TreeLogger logger) |
boolean |
CompileOnePerm.run(TreeLogger logger) |
boolean |
Precompile.run(TreeLogger logger) |
boolean |
Link.run(TreeLogger logger) |
boolean |
Compiler.run(TreeLogger logger) |
boolean |
AnalyzeModule.run(TreeLogger logger) |
boolean |
Compiler.run(TreeLogger logger,
ModuleDef... modules) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
ModuleDefSchema.__module_begin(com.google.gwt.dev.cfg.ModuleDefSchema.NullableName renameTo,
String type) |
static ModuleDef |
ModuleDefLoader.createSyntheticModule(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
String[] inherits,
boolean refresh)
Creates a module in memory that is not associated with a
.gwt.xml file on disk. |
void |
ModuleDef.defineLinker(TreeLogger logger,
String name,
Class<? extends Linker> linker)
Associate a Linker class with a symbolic name.
|
protected boolean |
ConditionWhenPropertyIs.doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected boolean |
ConditionAny.doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected boolean |
ConditionAll.doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected abstract boolean |
Condition.doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected boolean |
ConditionNone.doEval(TreeLogger logger,
DeferredBindingQuery query) |
protected boolean |
ConditionWhenTypeAssignableTo.doEval(TreeLogger logger,
DeferredBindingQuery query) |
String |
PropertyProviderRegistratorGenerator.generate(TreeLogger logger,
GeneratorContext context,
String moduleName) |
String |
EntryMethodHolderGenerator.generate(TreeLogger logger,
GeneratorContext context,
String moduleCanonicalName) |
void |
RuleGenerateWith.generate(TreeLogger logger,
Properties moduleProperties,
GeneratorContext context,
String typeName)
Generate all possible Generator output for the wrapped Generator in combination with the scope
of Properties and values known about by the passed GeneratorContext.
|
void |
RuleFail.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context) |
void |
Rule.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context)
Generate runtime rebind classes that perform the same rebinding behavior represented by the
current Rule.
|
void |
RuleReplaceWith.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context) |
CompilationState |
ModuleDef.getCompilationState(TreeLogger logger,
CompilerContext compilerContext) |
boolean |
Rule.isApplicable(TreeLogger logger,
StandardGeneratorContext context,
String typeName) |
boolean |
Condition.isTrue(TreeLogger logger,
DeferredBindingQuery query)
Test the condition with the given parameters.
|
protected void |
ModuleDefLoader.load(TreeLogger logger,
String nameOfModuleToLoad,
ModuleDef dest)
Loads a module and all its included modules, recursively, into the given ModuleDef.
|
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName)
Loads a new module from the class path and defers scanning associated directories for
resources.
|
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
boolean refresh)
Loads a new module from the class path and may or may not immediately scan associated
directories for resources.
|
static ModuleDef |
ModuleDefLoader.loadFromResources(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
ResourceLoader resources,
boolean refresh)
Loads a new module from the given ResourceLoader and may or may not immediately scan associated
directories for resources.
|
RebindResult |
RuleFail.realize(TreeLogger logger,
StandardGeneratorContext context,
String typeName) |
RebindResult |
RuleGenerateWith.realize(TreeLogger logger,
StandardGeneratorContext context,
String typeName) |
abstract RebindResult |
Rule.realize(TreeLogger logger,
StandardGeneratorContext context,
String typeName) |
RebindResult |
RuleReplaceWith.realize(TreeLogger logger,
StandardGeneratorContext context,
String typeName) |
void |
LibraryGroup.verify(TreeLogger logger) |
Modifier and Type | Method and Description |
---|---|
static WebServer |
CodeServer.start(Options options)
Starts the code server with the given command line options.
|
Modifier and Type | Method and Description |
---|---|
static UnableToCompleteException |
CompilationProblemReporter.logAndTranslateException(TreeLogger logger,
Throwable e)
Used as a convenience to catch all exceptions thrown by the compiler.
|
Modifier and Type | Method and Description |
---|---|
void |
CompilationState.addGeneratedCompilationUnits(TreeLogger logger,
Collection<GeneratedUnit> generatedUnits)
Compiles the given source files (unless cached) and adds them to the
CompilationState.
|
Collection<CompilationUnit> |
CompilationStateBuilder.CompileMoreLater.addGeneratedTypes(TreeLogger logger,
Collection<GeneratedUnit> generatedUnits,
CompilationState compilationState)
Compiles generated source files (unless cached) and adds them to the
CompilationState.
|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources)
Compiles the given source files and adds them to the CompilationState.
|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate delegate)
Compiles the given source files and adds them to the CompilationState.
|
GeneratedResource |
StandardGeneratorContext.commitResource(TreeLogger logger,
OutputStream os) |
static List<CompilationUnit> |
JdtCompiler.compile(TreeLogger logger,
CompilerContext compilerContext,
Collection<CompilationUnitBuilder> builders)
Compiles the given set of units.
|
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources) |
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate compilerDelegate)
Build a new compilation state from a source oracle.
|
void |
JdtCompiler.doCompile(TreeLogger logger,
Collection<CompilationUnitBuilder> builders)
Compiles source using the JDT.
|
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.
|
String |
StandardGeneratorContext.runGenerator(TreeLogger logger,
Class<? extends Generator> generatorClass,
String typeName)
This method is maintained for backwards compatibility.
|
RebindResult |
StandardGeneratorContext.runGeneratorIncrementally(TreeLogger logger,
Class<? extends Generator> generatorClass,
String typeName)
Runs a generator incrementally, with support for managing the returned
RebindResult object, which can contain cached results. |
OutputStream |
StandardGeneratorContext.tryCreateResource(TreeLogger logger,
String partialPath) |
Modifier and Type | Method and Description |
---|---|
String[] |
RebindPermutationOracle.getAllPossibleRebindAnswers(TreeLogger logger,
String sourceTypeName)
Finds the types that may be returned for a GWT.create() call, ordered by
permutation id.
|
String |
RebindOracle.rebind(TreeLogger logger,
String sourceTypeName)
Determines which type should be substituted for the requested type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
JavaToJavaScriptCompiler.Precompiler.beforeUnifyAst(Set<String> allRootTypes) |
PermutationResult |
UnifiedAst.compilePermutation(TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation)
Compiles a particular permutation.
|
PermutationResult |
JavaToJavaScriptCompiler.PermutationCompiler.compilePermutation(UnifiedAst unifiedAst)
Takes as input an unresolved Java AST (a Java AST wherein all rebind result classes are
available and have not yet been pruned down to the set applicable for a particular
permutation) that was previously constructed by the Precompiler and from that constructs
output Js source code and related information.
|
abstract PermutationResult |
JavaToJavaScriptCompiler.compilePermutation(UnifiedAst unifiedAst,
Permutation permutation)
Compiles and returns a particular permutation, based on a precompiled unified AST.
|
PermutationResult |
MonolithicJavaToJavaScriptCompiler.compilePermutation(UnifiedAst unifiedAst,
Permutation permutation) |
PermutationResult |
LibraryJavaToJavaScriptCompiler.compilePermutation(UnifiedAst unifiedAst,
Permutation permutation) |
static JProgram |
AstConstructor.construct(TreeLogger logger,
CompilationState state,
PrecompileTaskOptions options,
ConfigProps config)
Construct an simple AST representing an entire
CompilationState . |
UnifiedAst |
JavaToJavaScriptCompiler.precompile(RebindPermutationOracle rpo,
String[] entryPointTypeNames,
String[] additionalRootTypes,
boolean singlePermutation)
Performs a precompilation, returning a unified AST.
|
abstract UnifiedAst |
JavaToJavaScriptCompiler.precompile(RebindPermutationOracle rpo,
String[] entryPointTypeNames,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics)
Performs a precompilation, returning a unified AST.
|
UnifiedAst |
MonolithicJavaToJavaScriptCompiler.precompile(RebindPermutationOracle rpo,
String[] entryPointTypeNames,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics) |
UnifiedAst |
LibraryJavaToJavaScriptCompiler.precompile(RebindPermutationOracle rpo,
String[] entryPointTypeNames,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics) |
protected UnifiedAst |
JavaToJavaScriptCompiler.Precompiler.precompile(String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics)
Takes as input a CompilationState and transforms that into a unified by not yet resolved Java
AST (a Java AST wherein cross-class references have been connected and all rebind result
classes are available and have not yet been pruned down to the set applicable for a
particular permutation).
|
UnifiedAst |
JavaScriptCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics) |
UnifiedAst |
AbstractCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics)
Performs a precompilation, returning an object that can then be used to
compile individual permutations..
|
Modifier and Type | Method and Description |
---|---|
void |
UnifyAst.addRootTypes(Collection<String> sourceTypeNames) |
void |
UnifyAst.buildEverything()
Special AST construction, useful for tests.
|
void |
UnifyAst.exec()
Translates and stitches (unifies) type ASTs into one connected graph.
For normal monolithic compiles only types reachable from entry points are traversed. |
static void |
JsniRestrictionChecker.exec(TreeLogger logger,
JProgram jprogram) |
JDeclaredType |
UnifyAst.findType(String typeName,
com.google.gwt.dev.jjs.impl.UnifyAst.NameBasedTypeLocator nameBasedTypeLocator) |
Modifier and Type | Method and Description |
---|---|
static void |
ReplaceRunAsyncs.exec(TreeLogger logger,
JProgram program) |
static JRunAsync |
CodeSplitters.findRunAsync(String refString,
JProgram program,
TreeLogger branch)
Find a split point as designated in the
CodeSplitters.PROP_INITIAL_SEQUENCE
configuration property. |
static void |
CodeSplitters.pickInitialLoadSequence(TreeLogger logger,
JProgram program,
ConfigProps config)
Choose an initial load sequence of split points for the specified program.
|
Modifier and Type | Method and Description |
---|---|
void |
ArtifactAcceptor.accept(TreeLogger logger,
ArtifactSet newlyGeneratedArtifacts)
Called whenever new artifacts are generated.
|
ModuleSpaceHost |
BrowserWidgetHost.createModuleSpaceHost(ModuleHandle module,
String moduleName)
Create a ModuleSpaceHost for the specified module.
|
URL |
BrowserListener.makeStartupUrl(String url) |
URL |
CodeServerListener.makeStartupUrl(String url)
Returns the URL to use in the browser for using this codeserver.
|
URL |
SuperDevListener.makeStartupUrl(String url) |
void |
ModuleSpace.onLoad(TreeLogger logger)
Runs the module's user startup code.
|
void |
ShellModuleSpaceHost.onModuleReady(ModuleSpace readySpace) |
void |
ModuleSpaceHost.onModuleReady(ModuleSpace space) |
protected String |
ModuleSpace.rebind(String sourceName) |
String |
ShellModuleSpaceHost.rebind(TreeLogger logger,
String sourceTypeName) |
String |
StandardRebindOracle.rebind(TreeLogger logger,
String typeName) |
String |
StandardRebindOracle.rebind(TreeLogger logger,
String typeName,
ArtifactAcceptor artifactAcceptor) |
<T> T |
ModuleSpace.rebindAndCreate(String requestedClassName) |
<T> T |
ShellJavaScriptHost.rebindAndCreate(String requestedTypeName)
Resolves a deferred binding request and create the requested object.
|
void |
BrowserListener.waitUntilReady(TreeLogger logger) |
void |
CodeServerListener.waitUntilReady(TreeLogger logger)
Blocks until the code server ready to handle requests.
|
void |
SuperDevListener.waitUntilReady(TreeLogger logger) |
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) |
Constructor and Description |
---|
CompilingClassLoader(TreeLogger logger,
CompilationState compilationState,
ShellJavaScriptHost javaScriptHost) |
Modifier and Type | Method and Description |
---|---|
void |
JettyLauncher.JettyServletContainer.refresh() |
void |
JettyLauncher.JettyServletContainer.stop() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Util.copy(TreeLogger logger,
File in,
File out) |
static void |
Util.copy(TreeLogger logger,
InputStream is,
File out)
Copies an input stream out to a file.
|
static void |
Util.copy(TreeLogger logger,
InputStream is,
OutputStream os)
Copies an input stream out to an output stream.
|
static boolean |
Util.copy(TreeLogger logger,
URL in,
File out) |
static Reader |
Util.createReader(TreeLogger logger,
URL url) |
T |
PersistenceBackedObject.newInstance(TreeLogger logger)
Constructs and returns a new instance of the object stored at the path.
|
T |
ZipEntryBackedObject.newInstance(TreeLogger logger) |
T |
FileBackedObject.newInstance(TreeLogger logger) |
T |
MemoryBackedObject.newInstance(TreeLogger logger) |
void |
PersistenceBackedObject.set(TreeLogger logger,
T object)
Serializes the provided object to the intended path.
|
void |
ZipEntryBackedObject.set(TreeLogger logger,
T object) |
void |
FileBackedObject.set(TreeLogger logger,
T object) |
void |
MemoryBackedObject.set(TreeLogger logger,
T object) |
static void |
Util.writeBytesToFile(TreeLogger logger,
File where,
byte[] what) |
static void |
Util.writeBytesToFile(TreeLogger logger,
File where,
byte[][] what)
Gathering write.
|
static void |
Util.writeCharsAsFile(TreeLogger logger,
File file,
char[] chars) |
static void |
Util.writeObjectAsFile(TreeLogger logger,
File file,
Object... objects)
Serializes an object and writes it to a file.
|
static void |
Util.writeStringAsFile(TreeLogger logger,
File file,
String string) |
Modifier and Type | Method and Description |
---|---|
Object |
HandlerArgs.convertToArg(int i) |
Object |
AttributeConverterForInteger.convertToArg(Schema schema,
int lineNumber,
String elemName,
String attrName,
String attrValue) |
Object |
AttributeConverterForBoolean.convertToArg(Schema schema,
int line,
String elem,
String attr,
String value) |
abstract Object |
AttributeConverter.convertToArg(Schema schema,
int line,
String elem,
String attr,
String value)
Converts from a string to the type needed.
|
Schema |
HandlerMethod.invokeBegin(int lineNumber,
String elemLocalName,
Schema target,
HandlerArgs args,
Object[] outInvokeArgs) |
void |
HandlerMethod.invokeEnd(int lineNumber,
String elem,
Schema target,
Object[] args) |
void |
HandlerMethod.invokeText(int lineNumber,
String text,
Schema target) |
void |
Schema.onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType) |
void |
DefaultSchema.onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType) |
void |
Schema.onHandlerException(int line,
String elem,
Method method,
Throwable e) |
void |
DefaultSchema.onHandlerException(int line,
String elem,
Method method,
Throwable e) |
void |
Schema.onMissingAttribute(int line,
String elem,
String attr) |
void |
DefaultSchema.onMissingAttribute(int line,
String elem,
String attr) |
void |
Schema.onUnexpectedAttribute(int line,
String elem,
String attr,
String value) |
void |
DefaultSchema.onUnexpectedAttribute(int line,
String elem,
String attr,
String value) |
void |
Schema.onUnexpectedChild(int line,
String elem) |
void |
DefaultSchema.onUnexpectedChild(int line,
String childElem) |
void |
Schema.onUnexpectedElement(int line,
String elem) |
void |
DefaultSchema.onUnexpectedElement(int line,
String elem) |
static void |
ReflectiveParser.parse(TreeLogger logger,
Schema schema,
Reader reader) |
Modifier and Type | Method and Description |
---|---|
String |
LocalePropertyProviderGenerator.generate(TreeLogger logger,
SortedSet<String> possibleValues,
String fallback,
SortedSet<ConfigurationProperty> configProperties) |
protected void |
LocalePropertyProviderGenerator.generateCookieLookup(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter body,
String cookieName)
Generate JS code that looks up the locale value from a cookie.
|
protected void |
LocalePropertyProviderGenerator.generateInheritanceLookup(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter body)
Generate JS code that takes the value of the "locale" variable and finds
parent locales until the value is a supported locale or the default locale.
|
protected void |
LocalePropertyProviderGenerator.generateMetaLookup(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter body)
Generate JS code to fetch the locale from a meta property.
|
protected void |
LocalePropertyProviderGenerator.generateQueryParamLookup(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter body,
String queryParam)
Generate JS code to get the locale from a query parameter.
|
protected void |
LocalePropertyProviderGenerator.generateUserAgentLookup(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter body)
Generate JS code to fetch the locale from the user agent's compile-time
locale.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSet |
PrecompressLinker.link(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts,
boolean onePermutation) |
Modifier and Type | Method and Description |
---|---|
String |
Css2Gss.toGss() |
Modifier and Type | Method and Description |
---|---|
static CssStylesheet |
GenerateCssAst.exec(TreeLogger logger,
URL... stylesheets)
Create a CssStylesheet from the contents of one or more URLs.
|
Modifier and Type | Method and Description |
---|---|
String |
ResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method)
Produce the right-hand-side of a Java assignment expression to provide the
singleton instance object for a particular resource.
|
abstract String |
AbstractResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
void |
ResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields)
The ResourceGenerator can create fields within the implementation of the
bundle type.
|
void |
AbstractResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields)
A no-op implementation.
|
String |
ResourceContext.deploy(String suggestedFileName,
String mimeType,
byte[] data,
boolean forceExternal)
Cause a specific collection of bytes to be available in the program's
compiled output.
|
String |
ResourceContext.deploy(URL resource,
boolean forceExternal)
Deprecated.
use
ResourceContext.deploy(URL, String, boolean) instead |
String |
ResourceContext.deploy(URL resource,
String mimeType,
boolean forceExternal)
Cause a specific collection of bytes to be available in the program's
compiled output.
|
static URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method)
Find all resources referenced by a method in a bundle.
|
static URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method,
String[] defaultSuffixes)
Find all resources referenced by a method in a bundle.
|
void |
ResourceGenerator.finish(TreeLogger logger,
ResourceContext context)
Called at the end of the resource generation phase and can be used to
perform cleanup.
|
void |
AbstractResourceGenerator.finish(TreeLogger logger,
ResourceContext context)
A no-op implementation.
|
void |
ResourceGenerator.init(TreeLogger logger,
ResourceContext context)
Initialize the ResourceGenerator with the generation context that will
remain valid for the duration of the resource-generation phase.
|
void |
AbstractResourceGenerator.init(TreeLogger logger,
ResourceContext context)
A no-op implementation.
|
void |
ResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
Called once for each method the ResourceGenerator is expected to handle.
|
void |
AbstractResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
A no-op implementation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CssResourceGenerator.checkSheet(TreeLogger logger,
CssStylesheet stylesheet) |
String |
DataResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
BundleResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
GssResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
TextResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
ImageResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
ExternalTextResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
GwtCreateResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
CssResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
void |
ImageResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields)
We use this as a signal that we have received all image methods and can now
create the bundled images.
|
void |
ExternalTextResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields) |
protected abstract String |
AbstractCssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method)
Returns the java expression that contains the compiled CSS.
|
protected String |
GssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected String |
CssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected String |
CssResourceGenerator.getResourceImplAsString(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet) |
protected URL[] |
CssResourceGenerator.getResources(TreeLogger logger,
ResourceContext context,
JMethod method) |
void |
GssResourceGenerator.init(TreeLogger logger,
ResourceContext context) |
void |
ExternalTextResourceGenerator.init(TreeLogger logger,
ResourceContext context) |
void |
CssResourceGenerator.init(TreeLogger logger,
ResourceContext context) |
protected void |
CssResourceGenerator.outputAdditionalArtifacts(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet)
Output additional artifacts.
|
void |
GssResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
void |
ImageResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
Process each image method.
|
void |
ExternalTextResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
void |
CssResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
protected void |
AbstractCssResourceGenerator.writeGetText(TreeLogger logger,
ResourceContext context,
JMethod method,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
CssResourceGenerator.writeUserMethods(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter sw,
CssStylesheet sheet,
JMethod[] methods,
Map<JMethod,String> obfuscatedClassNames)
Write all of the user-defined methods in the CssResource subtype.
|
Modifier and Type | Method and Description |
---|---|
String |
SafeUriAttributeParser.parse(com.google.gwt.uibinder.rebind.XMLElement source,
String value) |
String |
AttributeParser.parse(com.google.gwt.uibinder.rebind.XMLElement source,
String value)
Parse the given attribute value.
|
String |
LengthAttributeParser.parse(com.google.gwt.uibinder.rebind.XMLElement source,
String lengthStr) |
Modifier and Type | Method and Description |
---|---|
protected String |
TextPlaceholderInterpreter.consumePlaceholderInnards(com.google.gwt.uibinder.rebind.XMLElement elem) |
String |
UiTextInterpreter.Delegate.getAttributeToken(com.google.gwt.uibinder.rebind.XMLAttribute attribute) |
String |
HtmlMessageInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) |
String |
TextInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) |
String |
UiTextInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) |
String |
HtmlInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) |
protected boolean |
DialogBoxParser.isCaption(com.google.gwt.uibinder.rebind.UiBinderWriter writer,
com.google.gwt.uibinder.rebind.XMLElement element)
Determines if the element implements Caption.
|
void |
GridParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
BeanParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Generates code to initialize all bean attributes on the given element.
|
void |
DockPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DockLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
RenderablePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DisclosurePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String panelField,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ImageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasAlignmentParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LazyPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
NumberLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
FlowPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
UIObjectParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTextParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasWidgetsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ListBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuBarParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
TabLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CustomButtonParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DialogBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
AbsolutePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CellPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
UiChildParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTreeItemsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the
element's attributes and children.
|
void |
TabPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DomElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasHTMLParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuItemParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
AttributeMessageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
IsEmptyParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DateLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HTMLPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
protected static void |
CellPanelParser.parseCellAttributes(com.google.gwt.uibinder.rebind.XMLElement cellElem,
String fieldName,
com.google.gwt.uibinder.rebind.FieldWriter childField,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Parses the alignment and size attributes common to all CellPanels.
|
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) |
Constructor and Description |
---|
RegexFilter(TreeLogger logger,
List<String> values) |
Copyright © 2018. All rights reserved.