Package | Description |
---|---|
com.google.gwt.core.ext |
Classes used to extend the GWT compiler.
|
com.google.gwt.dev.cfg | |
com.google.gwt.dev.javac |
Modifier and Type | Class and Description |
---|---|
class |
IncrementalGenerator
An extension to the
Generator class which supports incremental
generation. |
Modifier and Type | Method and Description |
---|---|
static RebindResult |
IncrementalGenerator.generateNonIncrementally(TreeLogger logger,
Generator generator,
GeneratorContext context,
String typeName)
A static helper method to wrap a non-incremental generator's result.
|
Modifier and Type | Class and Description |
---|---|
class |
EntryMethodHolderGenerator
Generator used to generate a class unique to the current module to hold the boot strap entry
method that the compiler generates.
|
class |
PropertyProviderRegistratorGenerator
Generator used to generate a class unique to the current module which has a register() function
that when invoked will register the given property provider implementations with a global
registry.
The resulting class is expected to be invoked at runtime as part of per module bootstrapping and before anything that might depend on property lookups (like GWT.create() calls). |
class |
RuntimeRebindRegistratorGenerator
Generator used to generate a class unique to the current module which has a register() function
which when invoked will register all currently known runtime rebind rule implementations with a
global registry.
The resulting class is expected to be invoked as part of per module bootstrapping and before anything that might depend on GWT.create() rebinding (including onModuleLoad() or gwtOnLoad() methods). |
Modifier and Type | Method and Description |
---|---|
protected Generator |
RuleGenerateWith.getGenerator() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
RuleGenerateWith.getAccessedPropertyNames(Class<? extends Generator> generatorClass)
Returns a Set of the names of properties that will be accessed by the given Generator.
|
Constructor and Description |
---|
RuleGenerateWith(Class<? extends Generator> generatorClass) |
Modifier and Type | Method and Description |
---|---|
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. |
void |
StandardGeneratorContext.setCurrentGenerator(Class<? extends Generator> currentGenerator) |
Copyright © 2018. All rights reserved.