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 | Interface and Description |
---|---|
interface |
JAnnotationMethod
Method declared on an annotation type.
|
Modifier and Type | Method and Description |
---|---|
JMethod |
JClassType.findMethod(java.lang.String name,
JType[] paramTypes) |
JMethod[] |
JClassType.getInheritableMethods()
Iterates over the most-derived declaration of each unique inheritable
method available in the type hierarchy of the specified type, including
those found in superclasses and superinterfaces.
|
JMethod |
JClassType.getMethod(java.lang.String name,
JType[] paramTypes) |
JMethod[] |
JClassType.getMethods()
Returns the declared methods of this class (not any superclasses or
superinterfaces).
|
JMethod[] |
JClassType.getOverloads(java.lang.String name)
Returns the declared methods of this class with the given name
(doesn't include any superclasses or superinterfaces).
|
JMethod[] |
JClassType.getOverridableMethods()
Iterates over the most-derived declaration of each unique overridable
method available in the type hierarchy of the specified type, including
those found in superclasses and superinterfaces.
|
JMethod |
JAbstractMethod.isMethod() |
Modifier and Type | Method and Description |
---|---|
static void |
TypeOracle.sort(JMethod[] methods)
Convenience method to sort methods in a consistent way.
|
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 |
---|---|
java.lang.String |
ResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method)
Produce the right-hand-side of a Java assignment expression to provide the
singleton instance object for a particular resource.
|
abstract java.lang.String |
AbstractResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
static java.net.URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method)
Find all resources referenced by a method in a bundle.
|
static java.net.URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method,
java.lang.String[] defaultSuffixes)
Find all resources referenced by a method in a bundle.
|
void |
ResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
Called once for each method the ResourceGenerator is expected to handle.
|
void |
AbstractResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
A no-op implementation.
|
Modifier and Type | Method and Description |
---|---|
JMethod |
ImageSpriteCreator.MethodByPathHelper.getMethodByPath(ResourceContext context,
java.util.List<java.lang.String> pathElements,
JType expectedReturnType) |