Package | Description |
---|---|
com.google.gwt.core.ext.typeinfo |
Type-introspection support classes used by generators.
|
com.google.gwt.dev.javac | |
com.google.gwt.dev.javac.typemodel |
Type-introspection support classes used by generators.
|
com.google.gwt.resources.css |
Support package for manipulating CSS resources.
|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
com.google.gwt.resources.rg | |
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(String typeName) |
abstract JClassType |
TypeOracle.findType(String name)
Finds a class or interface given its fully-qualified name.
|
JClassType |
JPackage.findType(String typeName)
Finds a type in this package.
|
JClassType |
JPackage.findType(String[] typeName)
Deprecated.
|
abstract JClassType |
TypeOracle.findType(String pkgName,
String typeName)
Finds a type given its package-relative name.
|
JClassType |
JTypeParameter.getBaseType() |
JClassType |
JWildcardType.getBaseType() |
JClassType[] |
JTypeParameter.getBounds() |
JClassType |
JClassType.getEnclosingType()
Returns the enclosing type, or null if none.
|
JClassType |
JField.getEnclosingType() |
JClassType |
JAbstractMethod.getEnclosingType()
Gets the type in which this method or constructor was declared.
|
JClassType |
JClassType.getErasedType() |
JClassType |
JTypeParameter.getFirstBound() |
JClassType |
JWildcardType.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(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(String name)
Finds a type given its fully qualified name.
|
JClassType |
JPackage.getType(String typeName)
Finds a type in this package.
|
abstract JClassType |
TypeOracle.getType(String pkgName,
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 |
---|---|
Set<? extends JClassType> |
JClassType.getFlattenedSupertypeHierarchy()
Returns all of the superclasses and superinterfaces for a given type
including the type itself.
|
abstract 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 | Field and Description |
---|---|
static JClassType[] |
Shared.NO_JCLASSES |
Modifier and Type | Class and Description |
---|---|
class |
JAnnotationType
Type representing an annotation type.
|
class |
JArrayType
Type representing a Java array.
|
class |
JClassType
Type used to represent any non-primitive type.
|
class |
JEnumType
Type representing a Java enumerated type.
|
class |
JGenericType
Type declaration that has type parameters.
|
class |
JParameterizedType
Represents a parameterized type in a declaration.
|
class |
JRawType
Represents a raw type; that is a generic type with no type arguments.
|
class |
JRealClassType
Type representing a Java class or interface type that a user would declare.
|
class |
JTypeParameter
Represents one of the type parameters in a generic type.
|
class |
JWildcardType
Represents a wildcard type argument to a parameterized type.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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.
|
JParameterizedType |
TypeOracle.getParameterizedType(JGenericType extGenericType,
JClassType extEnclosingType,
JClassType[] extTypeArgs)
Gets the parameterized type object that represents the combination of a
specified raw type and a set of type arguments.
|
JParameterizedType |
TypeOracle.getParameterizedType(JGenericType extGenericType,
JClassType extEnclosingType,
JClassType[] extTypeArgs)
Gets the parameterized type object that represents the combination of a
specified raw type and a set of type arguments.
|
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. |
JWildcardType |
TypeOracle.getWildcardType(JWildcardType.BoundType boundType,
JClassType extTypeBound) |
boolean |
JClassType.isAssignableFrom(JClassType possibleSubtype)
|
boolean |
JClassType.isAssignableTo(JClassType possibleSupertype)
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
ExtractClassNamesVisitor.exec(CssStylesheet sheet,
JClassType... imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
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,
List<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 |
---|---|
static String |
CssResourceGenerator.getImportPrefix(JClassType importType)
Returns the import prefix for a type, including the trailing hyphen.
|
String |
CssObfuscationStyle.getPrettyName(String method,
JClassType type,
String obfuscatedName) |
protected String |
CssResourceGenerator.getResourceImplAsString(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet) |
protected boolean |
AbstractCssResourceGenerator.isReturnTypeString(JClassType classReturnType) |
protected void |
CssResourceGenerator.outputAdditionalArtifacts(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet)
Output additional artifacts.
|
Modifier and Type | Method and Description |
---|---|
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 |
GridParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
BeanParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Generates code to initialize all bean attributes on the given element.
|
void |
DockPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DockLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
RenderablePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DisclosurePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String panelField,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ImageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasAlignmentParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LazyPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
NumberLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
UIObjectParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTextParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasWidgetsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ListBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuBarParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
TabLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CustomButtonParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
StackLayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DialogBoxParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
AbsolutePanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
CellPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
UiChildParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasTreeItemsParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
ElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
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 |
TabPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement panelElem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DomElementParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HasHTMLParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
MenuItemParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
AttributeMessageParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
IsEmptyParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
LayoutPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
DateLabelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
void |
HTMLPanelParser.parse(com.google.gwt.uibinder.rebind.XMLElement elem,
String fieldName,
JClassType type,
com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
Copyright © 2018. All rights reserved.