public abstract class MetaClassBridgeUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetaClassBridgeUtil.GWTTypeOracleCacheStore |
Modifier and Type | Method and Description |
---|---|
static void |
populateMetaClassFactoryFromTypeOracle(com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger)
Erases the
MetaClassFactory cache, then populates it with types
discovered via GWT's TypeOracle. |
public static void populateMetaClassFactoryFromTypeOracle(com.google.gwt.core.ext.GeneratorContext context, com.google.gwt.core.ext.TreeLogger logger)
MetaClassFactory
cache, then populates it with types
discovered via GWT's TypeOracle. The reason for the initial flush of the
MetaClassFactory is to support hot redeploy in Dev Mode. The reason for doing
this operation at all is so that the overridden class definitions
(super-source classes) are used in preference to the Java reflection based
class definitions.context
- The GeneratorContext supplied by the GWT compiler. Not null.logger
- The TreeLogger supplied by the GWT compiler. Not null.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.