Java com.google.gwt.core.ext GeneratorContext fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.core.ext GeneratorContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.core.ext GeneratorContext.

The text is from its open source code.

Implementation

com.google.gwt.core.ext.GeneratorContext has the following implementations.
Click this link to see all its implementation.

Method

voidcommit(TreeLogger logger, PrintWriter pw)
Commits source generation begun with #tryCreate(TreeLogger,String,String) .
voidcommitArtifact(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.
GeneratedResourcecommitResource(TreeLogger logger, OutputStream os)
Commits resource generation begun with #tryCreateResource(TreeLogger,String) .
PropertyOraclegetPropertyOracle()
Gets the property oracle for the current generator context.
ResourceOraclegetResourcesOracle()
Returns a resource oracle containing all resources that are mapped into the module's source (or super-source) paths.
TypeOraclegetTypeOracle()
Gets the type oracle for the current generator context.
PrintWritertryCreate(TreeLogger logger, String packageName, String simpleName)
Attempts to get a PrintWriter so that the caller can generate the source code for the named type.
OutputStreamtryCreateResource(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.