
public class LocalizableGenerator
extends com.google.gwt.core.ext.Generator
Localizable and
Constants interfaces.| Modifier and Type | Class and Description |
|---|---|
class |
LocalizableGenerator.JMethodComparator
Comparator for methods - sorts first by visibility, then name, then number
of arguments, then argument names.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANTS_NAME |
static String |
CONSTANTS_WITH_LOOKUP_NAME |
static String |
GWT_KEY
Obsolete comment for GWT metadata - needs to be removed once all
references have been removed.
|
static String |
MESSAGES_NAME |
| Constructor and Description |
|---|
LocalizableGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
String typeName)
Generate an implementation for the given type.
|
String |
generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
String typeName,
LocaleUtils localeUtils,
GwtLocale locale)
Generate an implementation for a given type.
|
public static final String CONSTANTS_NAME
public static final String CONSTANTS_WITH_LOOKUP_NAME
public static final String GWT_KEY
public static final String MESSAGES_NAME
public final String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName) throws com.google.gwt.core.ext.UnableToCompleteException
generate in class com.google.gwt.core.ext.Generatorlogger - error loggercontext - generator contexttypeName - target type namecom.google.gwt.core.ext.UnableToCompleteExceptionpublic final String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName, LocaleUtils localeUtils, GwtLocale locale) throws com.google.gwt.core.ext.UnableToCompleteException
logger - context - typeName - localeUtils - locale - com.google.gwt.core.ext.UnableToCompleteExceptionCopyright © 2016. All rights reserved.