|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.ext.DelegatingGeneratorContext
com.google.gwt.core.ext.NonIncrementalGeneratorContext
public class NonIncrementalGeneratorContext
A wrapper to access a base GeneratorContext instance but with
generator result caching disabled.
| Method Summary | |
|---|---|
CachedGeneratorResult |
getCachedGeneratorResult()
Get the cached rebind result that has been provided to the context, if available. |
boolean |
isGeneratorResultCachingEnabled()
Check whether generator result caching is currently enabled. |
static GeneratorContext |
newInstance(GeneratorContext baseContext)
Get a new instance wrapped from a base GeneratorContext
implementation. |
boolean |
tryReuseTypeFromCache(java.lang.String typeName)
Mark a type to be reused from the generator result cache, if available. |
| Methods inherited from class com.google.gwt.core.ext.DelegatingGeneratorContext |
|---|
checkRebindRuleAvailable, commit, commitArtifact, commitResource, getPropertyOracle, getResourcesOracle, getTypeOracle, isProdMode, tryCreate, tryCreateResource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GeneratorContext newInstance(GeneratorContext baseContext)
GeneratorContext
implementation.
public CachedGeneratorResult getCachedGeneratorResult()
GeneratorContext
getCachedGeneratorResult in interface GeneratorContextgetCachedGeneratorResult in class DelegatingGeneratorContextCachedGeneratorResult object, if one has been provided to
the context. Null is returned if there is no previous result
available.public boolean isGeneratorResultCachingEnabled()
GeneratorContext
isGeneratorResultCachingEnabled in interface GeneratorContextisGeneratorResultCachingEnabled in class DelegatingGeneratorContextpublic boolean tryReuseTypeFromCache(java.lang.String typeName)
GeneratorContextIncrementalGenerator.generateIncrementally(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String), with a result
containing RebindMode.USE_PARTIAL_CACHED.
tryReuseTypeFromCache in interface GeneratorContexttryReuseTypeFromCache in class DelegatingGeneratorContexttypeName - the fully qualified source name of a type.
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||