|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.ext.Generator
com.google.gwt.core.ext.GeneratorExt
com.google.gwt.core.ext.GeneratorExtWrapper
public class GeneratorExtWrapper
EXPERIMENTAL and subject to change. Do not use this in production code.
A wrapper class for using base Generator
implementations where
a GeneratorExt
instance is needed.
Constructor Summary | |
---|---|
GeneratorExtWrapper(Generator baseGenerator)
|
Method Summary | |
---|---|
java.lang.String |
generate(TreeLogger logger,
GeneratorContext context,
java.lang.String typeName)
Pass through to the base generator's generate method. |
com.google.gwt.dev.javac.rebind.RebindResult |
generateIncrementally(TreeLogger logger,
GeneratorContextExt context,
java.lang.String typeName)
Call base generator's generate method, and don't attempt any caching. |
static GeneratorExt |
newInstance(Generator baseGenerator)
Get a new instance wrapped from a base Generator implementation. |
Methods inherited from class com.google.gwt.core.ext.Generator |
---|
escape |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorExtWrapper(Generator baseGenerator)
Method Detail |
---|
public static GeneratorExt newInstance(Generator baseGenerator)
Generator
implementation.
public java.lang.String generate(TreeLogger logger, GeneratorContext context, java.lang.String typeName) throws UnableToCompleteException
generate
in class GeneratorExt
null
to cause the requested type itself to be
used
UnableToCompleteException
public com.google.gwt.dev.javac.rebind.RebindResult generateIncrementally(TreeLogger logger, GeneratorContextExt context, java.lang.String typeName) throws UnableToCompleteException
generateIncrementally
in class GeneratorExt
UnableToCompleteException
|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |