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.
|
Modifier and Type | Interface and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
JPrimitiveType
Represents a primitive type in a declaration.
|
Modifier and Type | Method and Description |
---|---|
JType |
JArrayType.getComponentType() |
JType[] |
JAbstractMethod.getErasedParameterTypes() |
JType |
JType.getErasedType()
Returns this type with no type parameters or type variables.
|
JType |
JPrimitiveType.getErasedType() |
JType |
JType.getLeafType()
For array types, recursively looks for the element type that is not an
array.
|
JType |
JPrimitiveType.getLeafType() |
JType[] |
JAbstractMethod.getParameterTypes() |
JType |
JMethod.getReturnType() |
JType |
JParameter.getType() |
JType |
JField.getType() |
abstract JType |
TypeOracle.parse(java.lang.String type)
Parses the string form of a type to produce the corresponding type object.
|
Modifier and Type | Method and 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) |
JMethod |
JClassType.getMethod(java.lang.String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(java.lang.String name,
JType[] paramTypes) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
JType |
ResourceUrlFunction.MethodByPathHelper.getReturnType(ResourceContext context,
java.util.List<java.lang.String> pathElements) |
Modifier and Type | Method and Description |
---|---|
JMethod |
ImageSpriteCreator.MethodByPathHelper.getMethodByPath(ResourceContext context,
java.util.List<java.lang.String> pathElements,
JType expectedReturnType) |
Modifier and Type | Method and Description |
---|---|
JType[] |
StringAttributeParser.FieldReferenceDelegate.getTypes() |
JType[] |
StrictAttributeParser.FieldReferenceDelegate.getTypes() |
JType[] |
FieldReferenceConverter.Delegate.getTypes()
Returns the types any parsed field references are expected to return.
|
Modifier and Type | Method and Description |
---|---|
AttributeParser |
AttributeParsers.getParser(JType... types)
Returns a parser for the given type(s).
|
Constructor and 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) |