## Uses of Interface
com.google.gwt.core.ext.typeinfo.JType

- Packages that use JType
  Package | Description
  --- | ---
  com.google.gwt.core.ext.typeinfo | Type-introspection support classes used by generators.
  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.attributeparsers | Classes that parse XML attribute values, turning them into valid Java expressions.

- - ### Uses of JType in com.google.gwt.core.ext.typeinfo

    Subinterfaces of JType in com.google.gwt.core.ext.typeinfo
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `JAnnotationType` | Type representing an annotation type.
    `interface` | `JArrayType` | Type representing a Java array.
    `interface` | `JClassType` | Type used to represent any non-primitive type.
    `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.

    Classes in com.google.gwt.core.ext.typeinfo that implement JType
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `JPrimitiveType` | Represents a primitive type in a declaration.

    Methods in com.google.gwt.core.ext.typeinfo that return JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `JType` | JArrayType.`getComponentType()` |
    `JType[]` | JAbstractMethod.`getErasedParameterTypes()` |
    `JType` | JPrimitiveType.`getErasedType()` |
    `JType` | JType.`getErasedType()` | Returns this type with no type parameters or type variables.
    `JType` | JPrimitiveType.`getLeafType()` |
    `JType` | JType.`getLeafType()` | For array types, recursively looks for the element type that is not an array.
    `JType[]` | JAbstractMethod.`getParameterTypes()` |
    `JType` | JMethod.`getReturnType()` |
    `JType` | JField.`getType()` |
    `JType` | JParameter.`getType()` |
    `abstract JType` | TypeOracle.`parse​(java.lang.String type)` | Parses the string form of a type to produce the corresponding type object.

    Methods in com.google.gwt.core.ext.typeinfo with parameters of type JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `JConstructor` | JClassType.`findConstructor​(JType[] paramTypes)` | Returns the constructor with parameters that have the given types, or null if not found.
    `JMethod` | JClassType.`findMethod​(java.lang.String name, JType[] paramTypes)` |
    `abstract JArrayType` | TypeOracle.`getArrayType​(JType componentType)` | Gets the type object that represents an array of the specified type.
    `JConstructor` | JClassType.`getConstructor​(JType[] paramTypes)` |
    `JAnnotationMethod` | JAnnotationType.`getMethod​(java.lang.String name, JType[] paramTypes)` |
    `JMethod` | JClassType.`getMethod​(java.lang.String name, JType[] paramTypes)` |

  - ### Uses of JType in com.google.gwt.resources.ext

    Methods in com.google.gwt.resources.ext with parameters of type JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | ClientBundleFields.`define​(JType type, java.lang.String name)` | Adds a field to the bundle.
    `java.lang.String` | ClientBundleFields.`define​(JType type, java.lang.String name, java.lang.String initializer, boolean isStatic, boolean isFinal)` | Adds a field to the bundle.
    `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.

  - ### Uses of JType in com.google.gwt.resources.gss

    Methods in com.google.gwt.resources.gss that return JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `JType` | ResourceUrlFunction.MethodByPathHelper.`getReturnType​(ResourceContext context, java.util.List<java.lang.String> pathElements)` |

    Methods in com.google.gwt.resources.gss with parameters of type JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `JMethod` | ImageSpriteCreator.MethodByPathHelper.`getMethodByPath​(ResourceContext context, java.util.List<java.lang.String> pathElements, JType expectedReturnType)` |

  - ### Uses of JType in com.google.gwt.uibinder.attributeparsers

    Methods in com.google.gwt.uibinder.attributeparsers that return JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `JType[]` | FieldReferenceConverter.Delegate.`getTypes()` | Returns the types any parsed field references are expected to return.
    `JType[]` | StrictAttributeParser.FieldReferenceDelegate.`getTypes()` |
    `JType[]` | StringAttributeParser.FieldReferenceDelegate.`getTypes()` |

    Methods in com.google.gwt.uibinder.attributeparsers with parameters of type JType
    Modifier and Type | Method | Description
    --- | --- | ---
    `AttributeParser` | AttributeParsers.`getParser​(JType... types)` | Returns a parser for the given type(s).

    Constructors in com.google.gwt.uibinder.attributeparsers with parameters of type JType
    Constructor | Description
    --- | ---
    `BooleanAttributeParser​(FieldReferenceConverter converter, JType booleanType, com.google.gwt.uibinder.rebind.MortalLogger logger)` |
    `DoubleAttributeParser​(FieldReferenceConverter converter, JType doubleType, com.google.gwt.uibinder.rebind.MortalLogger logger)` |
    `FieldReferenceDelegate​(JType... types)` |
    `FieldReferenceDelegate​(JType type)` |
    `HorizontalAlignmentConstantParser​(FieldReferenceConverter converter, JType type, com.google.gwt.uibinder.rebind.MortalLogger logger)` |
    `IntAttributeParser​(FieldReferenceConverter converter, JType intType, com.google.gwt.uibinder.rebind.MortalLogger logger)` |
    `SafeUriAttributeParser​(StringAttributeParser stringParser, FieldReferenceConverter converter, JType safeUriType, JType stringType, com.google.gwt.uibinder.rebind.MortalLogger logger)` | Constructs an instance for particular use in html contexts, where {string.references} are acceptible.
    `SafeUriAttributeParser​(StringAttributeParser stringParser, FieldReferenceConverter converter, JType safeUriType, com.google.gwt.uibinder.rebind.MortalLogger logger)` | Constructs an instance for normal use, where String literals are okay but {string.references} are not.
    `StrictAttributeParser​(FieldReferenceConverter converter, com.google.gwt.uibinder.rebind.MortalLogger logger, JType... types)` |
    `StringAttributeParser​(FieldReferenceConverter converter, JType stringType)` |
    `TextAlignConstantParser​(FieldReferenceConverter converter, JType type, com.google.gwt.uibinder.rebind.MortalLogger logger)` |
    `VerticalAlignmentConstantParser​(FieldReferenceConverter converter, JType type, com.google.gwt.uibinder.rebind.MortalLogger logger)` |