public abstract class StorageTypeFinder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.core.ext.TreeLogger |
logger |
static String |
PROP_RPC_BLACKLIST |
static String |
PROP_STORAGE_BLACKLIST |
static String |
PROP_TYPE_FINDER |
static String |
SERIALIZATION_CONFIG |
static List<String> |
TYPE_FINDER_VALUES |
protected com.google.gwt.core.ext.typeinfo.TypeOracle |
typeOracle |
| Constructor and Description |
|---|
StorageTypeFinder(com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addIfIsValidType(Set<com.google.gwt.core.ext.typeinfo.JType> serializables,
com.google.gwt.core.ext.typeinfo.JType jType) |
abstract Set<com.google.gwt.core.ext.typeinfo.JType> |
findStorageTypes() |
protected String |
getBaseTypeName(com.google.gwt.core.ext.typeinfo.JClassType type)
Returns a simple types, including classes and
interfaces, parameterized, and raw types.
|
static StorageTypeFinder |
getInstance(com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger) |
boolean |
isAllowed(com.google.gwt.core.ext.typeinfo.JClassType type) |
void |
setTypeFilter(StorageTypeFilter typeFilter) |
public static final String SERIALIZATION_CONFIG
public static final String PROP_RPC_BLACKLIST
public static final String PROP_STORAGE_BLACKLIST
public static final String PROP_TYPE_FINDER
protected final com.google.gwt.core.ext.TreeLogger logger
protected final com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle
public StorageTypeFinder(com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger)
public static StorageTypeFinder getInstance(com.google.gwt.core.ext.GeneratorContext context, com.google.gwt.core.ext.TreeLogger logger) throws com.google.gwt.core.ext.UnableToCompleteException
com.google.gwt.core.ext.UnableToCompleteExceptionpublic void setTypeFilter(StorageTypeFilter typeFilter)
protected boolean addIfIsValidType(Set<com.google.gwt.core.ext.typeinfo.JType> serializables, com.google.gwt.core.ext.typeinfo.JType jType)
public boolean isAllowed(com.google.gwt.core.ext.typeinfo.JClassType type)
protected String getBaseTypeName(com.google.gwt.core.ext.typeinfo.JClassType type)
public abstract Set<com.google.gwt.core.ext.typeinfo.JType> findStorageTypes() throws com.google.gwt.core.ext.UnableToCompleteException
com.google.gwt.core.ext.UnableToCompleteExceptionCopyright © 2018 seanchenxi.com. All rights reserved.