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.asm | |
com.google.gwt.dev.javac.typemodel |
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.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(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(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(String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(String name,
JType[] paramTypes) |
Modifier and Type | Field and Description |
---|---|
static JType[] |
Shared.NO_JTYPES |
Modifier and Type | Method and Description |
---|---|
void |
Resolver.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
void |
Resolver.setReturnType(JAbstractMethod method,
JType returnType) |
Constructor and Description |
---|
ResolveTypeSignature(Resolver resolver,
TreeLogger logger,
JType[] returnTypeRef,
TypeParameterLookup lookup,
JClassType enclosingClass)
Resolve a parameterized type.
|
ResolveTypeSignature(Resolver resovler,
TreeLogger logger,
JType[] returnTypeRef,
TypeParameterLookup lookup,
JClassType enclosingClass,
char wildcardMatch) |
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 |
---|---|
JType |
JArrayType.getComponentType() |
JType[] |
JAbstractMethod.getErasedParameterTypes() |
JType |
JClassType.getLeafType() |
JType |
JArrayType.getLeafType() |
JType[] |
JAbstractMethod.getParameterTypes() |
JType |
JMethod.getReturnType() |
JType |
JParameter.getType() |
JType |
JField.getType() |
JType |
TypeOracle.parse(String type)
Parses the string form of a type to produce the corresponding type object.
|
Modifier and Type | Method and Description |
---|---|
abstract JConstructor |
JClassType.findConstructor(JType[] paramTypes) |
JConstructor |
JArrayType.findConstructor(JType[] paramTypes) |
JConstructor |
JRawType.findConstructor(JType[] paramTypes) |
JConstructor |
JRealClassType.findConstructor(JType[] paramTypes) |
JConstructor |
JParameterizedType.findConstructor(JType[] paramTypes) |
abstract JMethod |
JClassType.findMethod(String name,
JType[] paramTypes) |
JMethod |
JTypeParameter.findMethod(String name,
JType[] paramTypes) |
JMethod |
JArrayType.findMethod(String name,
JType[] paramTypes) |
JMethod |
JWildcardType.findMethod(String name,
JType[] paramTypes) |
JMethod |
JRawType.findMethod(String name,
JType[] paramTypes) |
JMethod |
JRealClassType.findMethod(String name,
JType[] paramTypes) |
JMethod |
JParameterizedType.findMethod(String name,
JType[] paramTypes) |
JArrayType |
TypeOracle.getArrayType(JType componentType)
Gets the type object that represents an array of the specified type.
|
abstract JConstructor |
JClassType.getConstructor(JType[] paramTypes) |
JConstructor |
JArrayType.getConstructor(JType[] paramTypes) |
JConstructor |
JRawType.getConstructor(JType[] paramTypes) |
JConstructor |
JRealClassType.getConstructor(JType[] paramTypes) |
JConstructor |
JParameterizedType.getConstructor(JType[] paramTypes) |
abstract JMethod |
JClassType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JTypeParameter.getMethod(String name,
JType[] paramTypes) |
JMethod |
JArrayType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JWildcardType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JRawType.getMethod(String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JRealClassType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JParameterizedType.getMethod(String name,
JType[] paramTypes) |
protected void |
TypeOracleUpdater.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
protected void |
TypeOracleUpdater.setFieldType(JField jfield,
JType fieldType) |
protected void |
TypeOracleUpdater.setReturnType(JAbstractMethod method,
JType returnType) |
Modifier and Type | Method and Description |
---|---|
String |
ClientBundleFields.define(JType type,
String name)
Adds a field to the bundle.
|
String |
ClientBundleFields.define(JType type,
String name,
String initializer,
boolean isStatic,
boolean isFinal)
Adds a field to the bundle.
|
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 |
---|---|
AttributeParser |
AttributeParsers.getParser(JType... types)
Returns a parser for the given type(s).
|
Copyright © 2018. All rights reserved.