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.typemodel |
Type-introspection support classes used by generators.
|
com.google.gwt.resources.css |
Support package for manipulating CSS resources.
|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
com.google.gwt.resources.rg |
Modifier and Type | Interface and Description |
---|---|
interface |
JAnnotationMethod
Method declared on an annotation type.
|
Modifier and Type | Method and Description |
---|---|
JMethod |
JClassType.findMethod(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(String name,
JType[] paramTypes) |
JMethod[] |
JClassType.getMethods()
Returns the declared methods of this class (not any superclasses or
superinterfaces).
|
JMethod[] |
JClassType.getOverloads(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 | Field and Description |
---|---|
static JMethod[] |
Shared.NO_JMETHODS |
Modifier and Type | Class and Description |
---|---|
class |
JAnnotationMethod
Method declared on an annotation type.
|
class |
JMethod
Represents a method declaration.
|
Modifier and Type | Method and Description |
---|---|
Map<JMethod,String> |
ClassRenamer.getReplacements()
Reports the replacements that were actually performed by this visitor.
|
Constructor and Description |
---|
ClassRenamer(TreeLogger logger,
Map<String,Map<JMethod,String>> classReplacementsWithPrefix,
boolean strict,
Set<String> externalClasses) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 String |
AbstractResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
static URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method)
Find all resources referenced by a method in a bundle.
|
static URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method,
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 |
---|---|
String |
DataResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
BundleResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
GssResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
TextResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
ImageResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
ExternalTextResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
GwtCreateResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
String |
CssResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected abstract String |
AbstractCssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method)
Returns the java expression that contains the compiled CSS.
|
protected String |
GssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected String |
CssResourceGenerator.getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected String |
CssResourceGenerator.getResourceImplAsString(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet) |
protected URL[] |
CssResourceGenerator.getResources(TreeLogger logger,
ResourceContext context,
JMethod method) |
protected void |
CssResourceGenerator.outputAdditionalArtifacts(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet)
Output additional artifacts.
|
protected void |
CssResourceGenerator.outputCssMapArtifact(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements)
Builds a CSV file mapping obfuscated CSS class names to their qualified source name and
outputs it as a private build artifact.
|
void |
GssResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
void |
ImageResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
Process each image method.
|
void |
ExternalTextResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
void |
CssResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method) |
protected void |
AbstractCssResourceGenerator.writeGetName(JMethod method,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
AbstractCssResourceGenerator.writeGetText(TreeLogger logger,
ResourceContext context,
JMethod method,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
AbstractCssResourceGenerator.writeSimpleGetter(JMethod methodToImplement,
String toReturn,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
CssResourceGenerator.writeUserMethods(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter sw,
CssStylesheet sheet,
JMethod[] methods,
Map<JMethod,String> obfuscatedClassNames)
Write all of the user-defined methods in the CssResource subtype.
|
Modifier and Type | Method and Description |
---|---|
protected String |
CssResourceGenerator.getResourceImplAsString(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet) |
protected void |
CssResourceGenerator.outputAdditionalArtifacts(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet)
Output additional artifacts.
|
protected void |
CssResourceGenerator.outputCssMapArtifact(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements)
Builds a CSV file mapping obfuscated CSS class names to their qualified source name and
outputs it as a private build artifact.
|
protected void |
CssResourceGenerator.writeUserMethods(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter sw,
CssStylesheet sheet,
JMethod[] methods,
Map<JMethod,String> obfuscatedClassNames)
Write all of the user-defined methods in the CssResource subtype.
|
Copyright © 2018. All rights reserved.