Uses of Interface
com.google.gwt.core.ext.GeneratorContext
Package
Description
Classes used to extend the GWT compiler.
This package contains i18n generators.
This package contains extension hooks for adding new resource types to
ClientBundle.
-
Uses of GeneratorContext in com.google.gwt.core.ext
Modifier and TypeClassDescriptionclass
An abstract generator context class which delegates all methods to a provided baseContext.class
A wrapper to access a baseGeneratorContext
instance but with generator result caching disabled.class
An abstract generator context class which by default throws UnsupportedOperationException for all methods.Modifier and TypeMethodDescriptionstatic GeneratorContext
NonIncrementalGeneratorContext.newInstance
(GeneratorContext baseContext) Get a new instance wrapped from a baseGeneratorContext
implementation.Modifier and TypeMethodDescriptionabstract String
Generator.generate
(TreeLogger logger, GeneratorContext context, String typeName) Generate a default constructible subclass of the requested type.final String
IncrementalGenerator.generate
(TreeLogger logger, GeneratorContext context, String typeName) This method overridesGenerator.generate(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String)
, and is included only for backwards compatibility.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 baseGeneratorContext
implementation.ModifierConstructorDescriptionDelegatingGeneratorContext
(GeneratorContext baseContext) Get a new instance wrapped from a baseGeneratorContext
implementation. -
Uses of GeneratorContext in com.google.gwt.i18n.rebind
Modifier and TypeMethodDescriptionstatic LocaleUtils
LocaleUtils.getInstance
(TreeLogger logger, PropertyOracle propertyOracle, GeneratorContext context) Create a new LocaleUtils instance for the given PropertyOracle. -
Uses of GeneratorContext in com.google.gwt.resources.ext
Modifier and TypeMethodDescriptionResourceContext.getGeneratorContext()
Return the GeneratorContext in which the overall resource generation framework is being run.Modifier and TypeMethodDescriptionstatic URL
ResourceGeneratorUtil.tryFindResource
(TreeLogger logger, GeneratorContext genContext, ResourceContext resourceContext, String resourceName) Try to find a resource with the given resourceName.