Example usage for Java com.google.gwt.dev.javac StandardGeneratorContext fields, constructors, methods, implement or subclass
The text is from its open source code.
StandardGeneratorContext(CompilationState compilationState, ModuleDef module, File genDir, 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. |
ArtifactSet | 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. |
CompilationState | getCompilationState() |
TypeOracle | getTypeOracle() |
RebindResult | runGeneratorIncrementally(TreeLogger logger, Class extends Generator> generatorClass, String typeName) Runs a generator incrementally, with support for managing the returned RebindResult object, which can contain status and cached results. |