Example usage for Java com.google.gwt.core.ext GeneratorContext fields, constructors, methods, implement or subclass
The text is from its open source code.
void | commit(TreeLogger logger, PrintWriter pw) Commits source generation begun with #tryCreate(TreeLogger,String,String) . |
void | commitArtifact(TreeLogger logger, Artifact> artifact) Add an Artifact to the com.google.gwt.core.ext.linker.ArtifactSet that will be presented to the Linker chain at the end of the compilation cycle. |
GeneratedResource | commitResource(TreeLogger logger, OutputStream os) Commits resource generation begun with #tryCreateResource(TreeLogger,String) . |
PropertyOracle | getPropertyOracle() Gets the property oracle for the current generator context. |
ResourceOracle | getResourcesOracle() Returns a resource oracle containing all resources that are mapped into the module's source (or super-source) paths. |
TypeOracle | getTypeOracle() Gets the type oracle for the current generator context. |
PrintWriter | tryCreate(TreeLogger logger, String packageName, String simpleName) Attempts to get a PrintWriter so that the caller can generate the source code for the named type. |
OutputStream | tryCreateResource(TreeLogger logger, String partialPath) Attempts to get an OutputStream so that the caller can write file contents into the named file underneath the compilation output directory. |