Uses of Interface
com.google.gwt.core.ext.typeinfo.JClassType
Package
Description
Type-introspection support classes used by generators.
Implementations for various MessageCatalogFormat implementations, which are used
to generate files for translation or to read translated messages.
This package contains extension hooks for adding new resource types to
ClientBundle.
Classes that parse XML elements, using the context to generate widget initialization code.
-
Uses of JClassType in com.google.gwt.core.ext.typeinfo
Modifier and TypeInterfaceDescriptioninterface
Type representing an annotation type.interface
Type representing a Java array.interface
Type representing a Java enumerated type.interface
Type declaration that has type parameters.interface
Represents a parameterized type in a declaration.interface
Represents a raw type; that is a generic type with no type arguments.interface
Type representing a Java class or interface type that a user would declare.interface
Represents one of the type parameters in a generic type.interface
Represents a wildcard type argument to a parameterized type.Modifier and TypeMethodDescriptionJClassType.findNestedType
(String typeName) Finds a type in this package.Deprecated.abstract JClassType
Finds a class or interface given its fully-qualified name.abstract JClassType
Finds a type given its package-relative name.JTypeParameter.getBaseType()
JWildcardType.getBaseType()
JTypeParameter.getBounds()
JAbstractMethod.getEnclosingType()
Gets the type in which this method or constructor was declared.JClassType.getEnclosingType()
Returns the enclosing type, or null if none.JField.getEnclosingType()
JClassType.getErasedType()
JTypeParameter.getFirstBound()
JWildcardType.getFirstBound()
JClassType.getImplementedInterfaces()
abstract JClassType
TypeOracle.getJavaLangObject()
Gets a reference to the type object representingjava.lang.Object
.JWildcardType.getLowerBounds()
Returns the lower bounds of this wildcard type.JClassType.getNestedType
(String typeName) JClassType.getNestedTypes()
JParameterizedType.getRawType()
abstract JClassType
TypeOracle.getSingleJsoImpl
(JClassType intf) Returns the single implementation type for an interface returned viaTypeOracle.getSingleJsoImplInterfaces()
ornull
if no JSO implementation is defined.JClassType.getSubtypes()
Returns all subtypes of this type, recursively, not including this type.JClassType.getSuperclass()
Returns the superclass of this type, ornull
if none.JAbstractMethod.getThrows()
Finds a type in this package.abstract JClassType
Finds a type given its fully qualified name.abstract JClassType
Finds a type given its package-relative name.JParameterizedType.getTypeArgs()
JPackage.getTypes()
Returns all top-level types in this package.abstract JClassType[]
TypeOracle.getTypes()
Gets all types, both top-level and nested.JWildcardType.getUpperBound()
JWildcardType.getUpperBounds()
Returns the upper bounds of this wildcard type.JPrimitiveType.isClass()
JType.isClass()
Returns this instance if the erased version of this type is a class (as opposed to a primitive, array, or interface) ornull
if it is not.JPrimitiveType.isClassOrInterface()
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) ornull
if it is not.JPrimitiveType.isInterface()
JType.isInterface()
Returns this instance if it is an interface ornull
if it is not.Modifier and TypeMethodDescriptionSet<? 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 TypeMethodDescriptionabstract 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 JClassType
TypeOracle.getSingleJsoImpl
(JClassType intf) Returns the single implementation type for an interface returned viaTypeOracle.getSingleJsoImplInterfaces()
ornull
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. -
Uses of JClassType in com.google.gwt.i18n.rebind.format
Modifier and TypeMethodDescriptionvoid
MessageCatalogFormat.write
(TreeLogger logger, String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, PrintWriter out, JClassType messageInterface) Write a message catalog file.void
PropertiesFormat.write
(TreeLogger logger, String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, PrintWriter out, JClassType messageInterface) -
Uses of JClassType in com.google.gwt.resources.ext
Modifier and TypeMethodDescriptionResourceContext.getClientBundleType()
Return the interface type of the resource bundle being generated.Modifier and TypeMethodDescriptionvoid
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. -
Uses of JClassType in com.google.gwt.resources.gss
Modifier and TypeMethodDescriptionClassNamesCollector.getClassNames
(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree, Set<JClassType> imports) Extract all CSS class names in the provided stylesheet, modulo those imported from another context. -
Uses of JClassType in com.google.gwt.uibinder.elementparsers
Modifier and TypeMethodDescription(package private) void
DialogBoxParser.handleConstructorArgs
(com.google.gwt.uibinder.rebind.XMLElement elem, 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
AbsolutePanelParser.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
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
CellPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, 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
DateLabelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, 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
DisclosurePanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, String panelField, 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
DockPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, 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
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
FlowPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
GridParser.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
HasHTMLParser.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
HasTreeItemsParser.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
HTMLPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, 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
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
LazyPanelParser.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
MenuItemParser.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
RenderablePanelParser.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
StackPanelParser.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
TabPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, 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
UIObjectParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer)
JPackage.findType(String)