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 |
Modifier and Type | Method and Description |
---|---|
JConstructor |
JClassType.getConstructor(JType[] paramTypes) |
JMethod |
JClassType.getMethod(java.lang.String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(java.lang.String name,
JType[] paramTypes) |
JClassType |
JClassType.getNestedType(java.lang.String typeName) |
abstract JPackage |
TypeOracle.getPackage(java.lang.String pkgName)
Gets a package by name.
|
abstract JClassType |
TypeOracle.getType(java.lang.String name)
Finds a type given its fully qualified name.
|
JClassType |
JPackage.getType(java.lang.String typeName)
Finds a type in this package.
|
abstract JClassType |
TypeOracle.getType(java.lang.String pkgName,
java.lang.String topLevelTypeSimpleName)
Finds a type given its package-relative name.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
JMethod |
ImageSpriteCreator.MethodByPathHelper.getMethodByPath(ResourceContext context,
java.util.List<java.lang.String> pathElements,
JType expectedReturnType) |
JType |
ResourceUrlFunction.MethodByPathHelper.getReturnType(ResourceContext context,
java.util.List<java.lang.String> pathElements) |