Package | Description |
---|---|
com.google.gwt.core.ext.typeinfo |
Type-introspection support classes used by generators.
|
com.google.gwt.i18n.rebind.format |
Implementations for various MessageCatalogFormat implementations, which are used
to generate files for translation or to read translated messages.
|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
com.google.gwt.resources.gss | |
com.google.gwt.uibinder.elementparsers |
Classes that parse XML elements, using the context to generate widget initialization code.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JAnnotationType
Type representing an annotation type.
|
interface |
JArrayType
Type representing a Java array.
|
interface |
JEnumType
Type representing a Java enumerated type.
|
interface |
JGenericType
Type declaration that has type parameters.
|
interface |
JParameterizedType
Represents a parameterized type in a declaration.
|
interface |
JRawType
Represents a raw type; that is a generic type with no type arguments.
|
interface |
JRealClassType
Type representing a Java class or interface type that a user would declare.
|
interface |
JTypeParameter
Represents one of the type parameters in a generic type.
|
interface |
JWildcardType
Represents a wildcard type argument to a parameterized type.
|
Modifier and Type | Method and Description |
---|---|
JClassType |
JClassType.findNestedType(java.lang.String typeName) |
abstract JClassType |
TypeOracle.findType(java.lang.String name)
Finds a class or interface given its fully-qualified name.
|
JClassType |
JPackage.findType(java.lang.String typeName)
Finds a type in this package.
|
JClassType |
JPackage.findType(java.lang.String[] typeName)
Deprecated.
|
abstract JClassType |
TypeOracle.findType(java.lang.String pkgName,
java.lang.String typeName)
Finds a type given its package-relative name.
|
JClassType |
JWildcardType.getBaseType() |
JClassType |
JTypeParameter.getBaseType() |
JClassType[] |
JTypeParameter.getBounds() |
JClassType |
JField.getEnclosingType() |
JClassType |
JClassType.getEnclosingType()
Returns the enclosing type, or null if none.
|
JClassType |
JAbstractMethod.getEnclosingType()
Gets the type in which this method or constructor was declared.
|
JClassType |
JClassType.getErasedType() |
JClassType |
JWildcardType.getFirstBound() |
JClassType |
JTypeParameter.getFirstBound() |
JClassType[] |
JClassType.getImplementedInterfaces() |
abstract JClassType |
TypeOracle.getJavaLangObject()
Gets a reference to the type object representing
java.lang.Object . |
JClassType[] |
JWildcardType.getLowerBounds()
Returns the lower bounds of this wildcard type.
|
JClassType |
JClassType.getNestedType(java.lang.String typeName) |
JClassType[] |
JClassType.getNestedTypes() |
JClassType |
JParameterizedType.getRawType() |
abstract JClassType |
TypeOracle.getSingleJsoImpl(JClassType intf)
Returns the single implementation type for an interface returned via
TypeOracle.getSingleJsoImplInterfaces() or null if no JSO
implementation is defined. |
JClassType[] |
JClassType.getSubtypes()
Returns all subtypes of this type, recursively, not including this type.
|
JClassType |
JClassType.getSuperclass()
Returns the superclass of this type, or
null if none. |
JClassType[] |
JAbstractMethod.getThrows() |
abstract JClassType |
TypeOracle.getType(java.lang.String name)
Finds a type given its fully qualified name.
|
JClassType |
JPackage.getType(java.lang.String typeName)
Finds a type in this package.
|
abstract JClassType |
TypeOracle.getType(java.lang.String pkgName,
java.lang.String topLevelTypeSimpleName)
Finds a type given its package-relative name.
|
JClassType[] |
JParameterizedType.getTypeArgs() |
abstract JClassType[] |
TypeOracle.getTypes()
Gets all types, both top-level and nested.
|
JClassType[] |
JPackage.getTypes()
Returns all top-level types in this package.
|
JClassType |
JWildcardType.getUpperBound() |
JClassType[] |
JWildcardType.getUpperBounds()
Returns the upper bounds of this wildcard type.
|
JClassType |
JType.isClass()
Returns this instance if the erased version of this type is a class (as opposed to a primitive,
array, or interface) or
null if it is not. |
JClassType |
JPrimitiveType.isClass() |
JClassType |
JType.isClassOrInterface()
Returns this instance if the erased version of this type is a class or interface (as opposed to
a primitive or array array) or
null if it is not. |
JClassType |
JPrimitiveType.isClassOrInterface() |
JClassType |
JType.isInterface()
Returns this instance if it is an interface or
null if it is not. |
JClassType |
JPrimitiveType.isInterface() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends JClassType> |
JClassType.getFlattenedSupertypeHierarchy()
Returns all of the superclasses and superinterfaces for a given type
including the type itself.
|
abstract java.util.Set<? extends JClassType> |
TypeOracle.getSingleJsoImplInterfaces()
Returns an unmodifiable, live view of all interface types that are
implemented by exactly one JSO subtype.
|
Modifier and Type | Method and Description |
---|---|
abstract JParameterizedType |
TypeOracle.getParameterizedType(JGenericType genericType,
JClassType[] typeArgs)
Gets the parameterized type object that represents the combination of a
specified raw type and a set of type arguments.
|
abstract JParameterizedType |
TypeOracle.getParameterizedType(JGenericType genericType,
JClassType enclosingType,
JClassType[] typeArgs)
Gets the parameterized type object that represents the combination of a
specified raw type and a set of type arguments.
|
abstract JParameterizedType |
TypeOracle.getParameterizedType(JGenericType genericType,
JClassType enclosingType,
JClassType[] typeArgs)
Gets the parameterized type object that represents the combination of a
specified raw type and a set of type arguments.
|
abstract JClassType |
TypeOracle.getSingleJsoImpl(JClassType intf)
Returns the single implementation type for an interface returned via
TypeOracle.getSingleJsoImplInterfaces() or null if no JSO
implementation is defined. |
abstract JWildcardType |
TypeOracle.getWildcardType(JWildcardType.BoundType boundType,
JClassType typeBound) |
boolean |
JClassType.isAssignableFrom(JClassType possibleSubtype)
|
boolean |
JClassType.isAssignableTo(JClassType possibleSupertype)
|
static void |
TypeOracle.sort(JClassType[] types)
Convenience method to sort class types in a consistent way.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesFormat.write(TreeLogger logger,
java.lang.String locale,
com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList,
java.io.PrintWriter out,
JClassType messageInterface) |
void |
MessageCatalogFormat.write(TreeLogger logger,
java.lang.String locale,
com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList,
java.io.PrintWriter out,
JClassType messageInterface)
Write a message catalog file.
|
Modifier and Type | Method and Description |
---|---|
JClassType |
ResourceContext.getClientBundleType()
Return the interface type of the resource bundle being generated.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientBundleRequirements.addTypeHierarchy(JClassType type)
Indicates that the ResourcePrototype implementation generated by a
ResourceGenerator is sensitive to structural changes to the given type, as
well as any of it's super type hierarchy.
|
static JMethod |
ResourceGeneratorUtil.getMethodByPath(JClassType rootType,
java.util.List<java.lang.String> pathElements,
JType expectedReturnType)
Finds a method by following a dotted path interpreted as a series of no-arg
method invocations from an instance of a given root type.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
ClassNamesCollector.getClassNames(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree,
java.util.Set<JClassType> imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
DialogBoxParser.handleConstructorArgs(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer,
com.google.gwt.uibinder.rebind.XMLElement customCaption)
If this is DialogBox (not a subclass), parse constructor args and generate
the constructor call.
|
protected boolean |
DialogBoxParser.isCustomWidget(com.google.gwt.uibinder.rebind.UiBinderWriter writer,
JClassType type)
Checks to see if the widget extends DialogBox or is DialogBox proper.
|
void |
UiChildParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
UIObjectParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
TabPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
TabLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
RenderablePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
NumberLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuItemParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuBarParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ListBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LazyPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
IsEmptyParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ImageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasWidgetsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTreeItemsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTextParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasHTMLParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasAlignmentParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HTMLPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
GridParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
FlowPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the
element's attributes and children.
|
void |
DomElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DockPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DockLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DisclosurePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
java.lang.String panelField,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DialogBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DateLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CustomButtonParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CellPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
BeanParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Generates code to initialize all bean attributes on the given element.
|
void |
AttributeMessageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
AbsolutePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
java.lang.String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |