| java.lang.Object com.google.gwt.dev.shell.StandardGeneratorContext
StandardGeneratorContext | public class StandardGeneratorContext implements GeneratorContext(Code) | | An abstract implementation of a generator context in terms of a
com.google.gwt.dev.jdt.MutableCompilationServiceHost , a
com.google.gwt.dev.jdt.PropertyOracle , and a
com.google.gwt.core.server.typeinfo.TypeOracle . The generator
interacts with the mutable source oracle by increasing the available
compilation units as they are generated.
|
StandardGeneratorContext | public StandardGeneratorContext(TypeOracle typeOracle, PropertyOracle propOracle, PublicOracle publicOracle, File genDir, File outDir, CacheManager cacheManager)(Code) | | 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.
|
finish | final public JClassType[] finish(TreeLogger logger) throws UnableToCompleteException(Code) | | 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.
types generated during this object's lifetime |
|
|