Package | Description |
---|---|
com.google.gwt.core.ext |
Classes used to extend the GWT compiler.
|
com.google.gwt.dev.cfg | |
com.google.gwt.dev.javac | |
com.google.gwt.dev.javac.testing | |
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingGeneratorContext
An abstract generator context class which delegates all methods to a provided
baseContext.
|
class |
NonIncrementalGeneratorContext
A wrapper to access a base
GeneratorContext instance but with
generator result caching disabled. |
class |
StubGeneratorContext
An abstract generator context class which by default throws
UnsupportedOperationException for all methods.
|
Modifier and Type | Method and Description |
---|---|
static GeneratorContext |
NonIncrementalGeneratorContext.newInstance(GeneratorContext baseContext)
Get a new instance wrapped from a base
GeneratorContext
implementation. |
Modifier and Type | Method and Description |
---|---|
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.
|
static GeneratorContext |
NonIncrementalGeneratorContext.newInstance(GeneratorContext baseContext)
Get a new instance wrapped from a base
GeneratorContext
implementation. |
Constructor and Description |
---|
DelegatingGeneratorContext(GeneratorContext baseContext)
Get a new instance wrapped from a base
GeneratorContext
implementation. |
Modifier and Type | Method and Description |
---|---|
String |
PropertyProviderRegistratorGenerator.generate(TreeLogger logger,
GeneratorContext context,
String moduleName) |
String |
EntryMethodHolderGenerator.generate(TreeLogger logger,
GeneratorContext context,
String moduleCanonicalName) |
String |
RuntimeRebindRegistratorGenerator.generate(TreeLogger logger,
GeneratorContext context,
String canonicalModuleName) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
StandardGeneratorContext
Manages generators and generated units during a single compilation.
|
Modifier and Type | Method and Description |
---|---|
GeneratorContext |
StandardGeneratorContext.getCanonicalContext() |
Modifier and Type | Method and Description |
---|---|
GeneratorContext |
GeneratorContextBuilder.buildGeneratorContext()
Returns a newly created
GeneratorContext based on the sources
added to this builder. |
Modifier and Type | Method and Description |
---|---|
GeneratorContext |
ResourceContext.getGeneratorContext()
Return the GeneratorContext in which the overall resource generation
framework is being run.
|
Modifier and Type | Method and Description |
---|---|
static URL |
ResourceGeneratorUtil.tryFindResource(TreeLogger logger,
GeneratorContext genContext,
ResourceContext resourceContext,
String resourceName)
Try to find a resource with the given resourceName.
|
Copyright © 2018. All rights reserved.