Uses of Class
com.google.gwt.core.ext.TreeLogger
Package
Description
Classes used to extend the GWT compiler.
Classes for writing Linkers.
A package containing implementations of the GWT bootstrap linkers.
This package contains i18n generators.
Implementations for various MessageCatalogFormat implementations, which are used
to generate files for translation or to read translated messages.
A linker that precompresses the public artifacts that it sees.
This package contains extension hooks for adding new resource types to
ClientBundle.
Classes used to provide information about RPC for a GWT application.
Classes used to implement filtering by a sequence of regular expressions preceded by + or - signs.
-
Uses of TreeLogger in com.google.gwt.core.ext
Modifier and TypeFieldDescriptionstatic final TreeLogger
TreeLogger.NULL
A valid logger that ignores all messages.Modifier and TypeMethodDescriptionfinal TreeLogger
TreeLogger.branch
(TreeLogger.Type type, String msg) Callsbranch(com.google.gwt.core.ext.TreeLogger.Type, String, Throwable, com.google.gwt.core.ext.TreeLogger.HelpInfo)
with anull
caught
andhelpInfo
.final TreeLogger
TreeLogger.branch
(TreeLogger.Type type, String msg, Throwable caught) Callsbranch(com.google.gwt.core.ext.TreeLogger.Type, String, Throwable, com.google.gwt.core.ext.TreeLogger.HelpInfo)
with anull
helpInfo
.abstract TreeLogger
TreeLogger.branch
(TreeLogger.Type type, String msg, Throwable caught, TreeLogger.HelpInfo helpInfo) Produces a branched logger, which can be used to write messages that are logically grouped together underneath the current logger.Modifier and TypeMethodDescriptionboolean
CachedPropertyInformation.checkPropertiesWithPropertyOracle
(TreeLogger logger, PropertyOracle oracle) Check a previously cached set of deferred-binding and configuration properties with the provided property oracle.void
DelegatingGeneratorContext.commit
(TreeLogger logger, PrintWriter pw) void
GeneratorContext.commit
(TreeLogger logger, PrintWriter pw) Commits source generation begun withGeneratorContext.tryCreate(TreeLogger, String, String)
.void
StubGeneratorContext.commit
(TreeLogger logger, PrintWriter pw) void
DelegatingGeneratorContext.commitArtifact
(TreeLogger logger, Artifact<?> artifact) void
GeneratorContext.commitArtifact
(TreeLogger logger, Artifact<?> artifact) Add an Artifact to theArtifactSet
that will be presented to theLinker
chain at the end of the compilation cycle.void
StubGeneratorContext.commitArtifact
(TreeLogger logger, Artifact<?> artifact) DelegatingGeneratorContext.commitResource
(TreeLogger logger, OutputStream os) GeneratorContext.commitResource
(TreeLogger logger, OutputStream os) Commits resource generation begun withGeneratorContext.tryCreateResource(TreeLogger, String)
.StubGeneratorContext.commitResource
(TreeLogger logger, OutputStream os) abstract String
Generator.generate
(TreeLogger logger, GeneratorContext context, String typeName) Generate a default constructible subclass of the requested type.final String
IncrementalGenerator.generate
(TreeLogger logger, GeneratorContext context, String typeName) This method overridesGenerator.generate(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String)
, and is included only for backwards compatibility.abstract RebindResult
IncrementalGenerator.generateIncrementally
(TreeLogger logger, GeneratorContext context, String typeName) Incrementally generate a default constructible subclass of the requested type.static RebindResult
IncrementalGenerator.generateNonIncrementally
(TreeLogger logger, Generator generator, GeneratorContext context, String typeName) A static helper method to wrap a non-incremental generator's result.PropertyOracle.getSelectionProperty
(TreeLogger logger, String propertyName) Attempts to get a named deferred binding property.SubsetFilteringPropertyOracle.getSelectionProperty
(TreeLogger logger, String propertyName) Linker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) This method is invoked for linkers not annotated withShardable
.Linker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) This method is invoked for linkers annotated withShardable
.LinkerContext.optimizeJavaScript
(TreeLogger logger, String jsProgram) Applies optimizations to a JavaScript program.boolean
ServletContainerLauncher.processArguments
(TreeLogger logger, String arguments) Process any supplied arguments.Linker.relink
(TreeLogger logger, LinkerContext context, ArtifactSet newArtifacts) Re-invoke the Linker with newly generated artifacts.abstract ServletContainer
ServletContainerLauncher.start
(TreeLogger logger, int port, File appRootDir) Start an embedded HTTP servlet container.DelegatingGeneratorContext.tryCreate
(TreeLogger logger, String packageName, String simpleName) GeneratorContext.tryCreate
(TreeLogger logger, String packageName, String simpleName) Attempts to get aPrintWriter
so that the caller can generate the source code for the named type.StubGeneratorContext.tryCreate
(TreeLogger logger, String packageName, String simpleName) DelegatingGeneratorContext.tryCreateResource
(TreeLogger logger, String partialPath) GeneratorContext.tryCreateResource
(TreeLogger logger, String partialPath) Attempts to get anOutputStream
so that the caller can write file contents into the named file underneath the compilation output directory.StubGeneratorContext.tryCreateResource
(TreeLogger logger, String partialPath) ModifierConstructorDescriptionCachedPropertyInformation
(TreeLogger logger, PropertyOracle oracle, Collection<String> selectionPropertyNames, Collection<String> configPropertyNames) -
Uses of TreeLogger in com.google.gwt.core.ext.linker
Modifier and TypeMethodDescriptionprotected final SyntheticArtifact
AbstractLinker.emitBytes
(TreeLogger logger, byte[] what, String partialPath) A helper method to create an artifact from an array of bytes.protected final SyntheticArtifact
AbstractLinker.emitBytes
(TreeLogger logger, byte[] what, String partialPath, long lastModified) A helper method to create an artifact from an array of bytes.protected final SyntheticArtifact
AbstractLinker.emitInputStream
(TreeLogger logger, InputStream what, String partialPath) A helper method to create an artifact to emit the contents of an InputStream.protected final SyntheticArtifact
AbstractLinker.emitInputStream
(TreeLogger logger, InputStream what, String partialPath, long lastModified) A helper method to create an artifact to emit the contents of an InputStream.protected final SyntheticArtifact
AbstractLinker.emitString
(TreeLogger logger, String what, String partialPath) A helper method to create an artifact to emit a String.protected final SyntheticArtifact
AbstractLinker.emitString
(TreeLogger logger, String what, String partialPath, long lastModified) A helper method to create an artifact to emit a String.protected final SyntheticArtifact
AbstractLinker.emitWithStrongName
(TreeLogger logger, byte[] what, String prefix, String suffix) A helper method to create an artifact from an array of bytes with a strong name.protected final SyntheticArtifact
AbstractLinker.emitWithStrongName
(TreeLogger logger, byte[] what, String prefix, String suffix, long lastModified) A helper method to create an artifact from an array of bytes with a strong name.PropertyProviderGenerator.generate
(TreeLogger logger, SortedSet<String> possibleValues, String fallback, SortedSet<ConfigurationProperty> configProperties) Generate a property provider.abstract InputStream
EmittedArtifact.getContents
(TreeLogger logger) Provides access to the contents of the EmittedResource.SyntheticArtifact.getContents
(TreeLogger logger) SelectionProperty.getPropertyProvider
(TreeLogger logger, SortedSet<ConfigurationProperty> configProperties) Returns a raw function body that provides the runtime value to be used for a deferred binding property.void
EmittedArtifact.writeTo
(TreeLogger logger, OutputStream out) Provides access to the contents of the EmittedResource.void
SyntheticArtifact.writeTo
(TreeLogger logger, OutputStream out) -
Uses of TreeLogger in com.google.gwt.core.linker
Modifier and TypeMethodDescriptionprotected Collection
<Artifact<?>> D8ScriptLinker.doEmitCompilation
(TreeLogger logger, LinkerContext context, CompilationResult result, ArtifactSet artifacts) protected Collection
<Artifact<?>> SingleScriptLinker.doEmitCompilation
(TreeLogger logger, LinkerContext context, CompilationResult result, ArtifactSet artifacts) protected void
SymbolMapsLinker.doEmitSymbolMap
(TreeLogger logger, ArtifactSet artifacts, CompilationResult result, ByteArrayOutputStream out) Override to change the manner in which the symbol map is emitted.protected void
SymbolMapsLinker.doWriteSymbolMap
(TreeLogger logger, CompilationResult result, PrintWriter pw) Override to change the format of the symbol map.protected EmittedArtifact
D8ScriptLinker.emitSelectionScript
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) protected EmittedArtifact
SingleScriptLinker.emitSelectionScript
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) protected SyntheticArtifact
SymbolMapsLinker.emitSourceMapString
(TreeLogger logger, String contents, String partialPath) protected String
CrossSiteIframeLinker.fillSelectionScriptTemplate
(StringBuffer ss, TreeLogger logger, LinkerContext context, ArtifactSet artifacts, CompilationResult result) protected String
CrossSiteIframeLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) protected String
D8ScriptLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Unimplemented.protected String
IFrameLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Deprecated.protected String
SingleScriptLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Unimplemented.protected String
XSLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Deprecated.protected String
CrossSiteIframeLinker.getDeferredFragmentSuffix2
(TreeLogger logger, LinkerContext context, int fragment, String strongName) protected String
CrossSiteIframeLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) protected String
D8ScriptLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) Unimplemented.protected String
IFrameLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected String
IFrameLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Deprecated.protected String
SingleScriptLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) Unimplemented.protected String
XSLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected String
XSLinker.getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Deprecated.protected String
CrossSiteIframeLinker.getModuleSuffix2
(TreeLogger logger, LinkerContext context, String strongName) protected String
IFrameLinker.getModuleSuffix2
(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected String
XSLinker.getModuleSuffix2
(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected String
CrossSiteIframeLinker.getScriptChunkSeparator
(TreeLogger logger, LinkerContext context) protected String
IFrameLinker.getScriptChunkSeparator
(TreeLogger logger, LinkerContext context) Deprecated.protected String
CrossSiteIframeLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) protected String
D8ScriptLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) protected String
IFrameLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) Deprecated.protected String
SingleScriptLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) protected String
XSLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) Deprecated.protected void
CrossSiteIframeLinker.includeJs
(StringBuffer selectionScript, TreeLogger logger, String jsSource, String templateVar) IFrameLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) Deprecated.SoycReportLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) SymbolMapsLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) Included to support legacy non-shardable subclasses.SymbolMapsLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) XSLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) Deprecated.protected void
CrossSiteIframeLinker.maybeAddHostedModeFile
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, CompilationResult result) (package private) static void
IFrameLinker.maybeEmitDeprecationWarning
(String linkerName, TreeLogger logger, LinkerContext context) Deprecated.protected void
CrossSiteIframeLinker.maybeOutputPropertyMap
(TreeLogger logger, LinkerContext context, ArtifactSet toReturn) protected String
CrossSiteIframeLinker.wrapDeferredFragment
(TreeLogger logger, LinkerContext context, int fragment, String js, ArtifactSet artifacts) protected String
XSLinker.wrapDeferredFragment
(TreeLogger logger, LinkerContext context, int fragment, String js, ArtifactSet artifacts) Deprecated.protected String
CrossSiteIframeLinker.wrapPrimaryFragment
(TreeLogger logger, LinkerContext context, String script, ArtifactSet artifacts, CompilationResult result) -
Uses of TreeLogger in com.google.gwt.i18n.linker
Modifier and TypeMethodDescriptionLocalePropertyProviderGenerator.generate
(TreeLogger logger, SortedSet<String> possibleValues, String fallback, SortedSet<ConfigurationProperty> configProperties) protected void
LocalePropertyProviderGenerator.generateCookieLookup
(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body, String cookieName) Generate JS code that looks up the locale value from a cookie.protected void
LocalePropertyProviderGenerator.generateInheritanceLookup
(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body) Generate JS code that takes the value of the "locale" variable and finds parent locales until the value is a supported locale or the default locale.protected void
LocalePropertyProviderGenerator.generateMetaLookup
(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body) Generate JS code to fetch the locale from a meta property.protected void
LocalePropertyProviderGenerator.generateQueryParamLookup
(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body, String queryParam) Generate JS code to get the locale from a query parameter.protected void
LocalePropertyProviderGenerator.generateUserAgentLookup
(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body) Generate JS code to fetch the locale from the user agent's compile-time locale. -
Uses of TreeLogger in com.google.gwt.i18n.rebind
Modifier and TypeMethodDescriptionstatic LocaleUtils
LocaleUtils.getInstance
(TreeLogger logger, PropertyOracle propertyOracle, GeneratorContext context) Create a new LocaleUtils instance for the given PropertyOracle. -
Uses of TreeLogger in com.google.gwt.i18n.rebind.format
Modifier and TypeMethodDescriptionvoid
MessageCatalogFormat.write
(TreeLogger logger, String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, PrintWriter out, JClassType messageInterface) Write a message catalog file.void
PropertiesFormat.write
(TreeLogger logger, String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, PrintWriter out, JClassType messageInterface) -
Uses of TreeLogger in com.google.gwt.precompress.linker
Modifier and TypeMethodDescriptionPrecompressLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) -
Uses of TreeLogger in com.google.gwt.resources.converter
ModifierConstructorDescriptionCss2Gss
(URL url, TreeLogger logger, boolean lenientConversion, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate) Css2Gss
(URL fileUrl, TreeLogger treeLogger, boolean lenient, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate, Set<URL> scopeFiles) DefCollectorVisitor
(boolean lenient, TreeLogger treeLogger) GssGenerationVisitor
(com.google.gwt.dev.util.TextOutput out, Map<String, String> cssToGssConstantMapping, boolean lenient, TreeLogger treeLogger, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate) UndefinedConstantVisitor
(Set<String> gssContantNames, boolean lenient, TreeLogger treeLogger) -
Uses of TreeLogger in com.google.gwt.resources.ext
Modifier and TypeMethodDescriptionabstract String
AbstractResourceGenerator.createAssignment
(TreeLogger logger, ResourceContext context, JMethod method) 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.void
AbstractResourceGenerator.createFields
(TreeLogger logger, ResourceContext context, ClientBundleFields fields) A no-op implementation.void
ResourceGenerator.createFields
(TreeLogger logger, ResourceContext context, ClientBundleFields fields) The ResourceGenerator can create fields within the implementation of the bundle type.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
AbstractResourceGenerator.finish
(TreeLogger logger, ResourceContext context) A no-op implementation.void
ResourceGenerator.finish
(TreeLogger logger, ResourceContext context) Called at the end of the resource generation phase and can be used to perform cleanup.static long
ResourceGeneratorUtil.getLastModified
(URL[] resources, TreeLogger logger) Returns the most recent value of thelast-modified
header fields of all the Urls in theresources
array.void
AbstractResourceGenerator.init
(TreeLogger logger, ResourceContext context) A no-op implementation.void
ResourceGenerator.init
(TreeLogger logger, ResourceContext context) Initialize the ResourceGenerator with the generation context that will remain valid for the duration of the resource-generation phase.void
AbstractResourceGenerator.prepare
(TreeLogger logger, ResourceContext context, ClientBundleRequirements requirements, JMethod method) A no-op implementation.void
ResourceGenerator.prepare
(TreeLogger logger, ResourceContext context, ClientBundleRequirements requirements, JMethod method) Called once for each method the ResourceGenerator is expected to handle.static URL
ResourceGeneratorUtil.tryFindResource
(TreeLogger logger, GeneratorContext genContext, ResourceContext resourceContext, String resourceName) Try to find a resource with the given resourceName. -
Uses of TreeLogger in com.google.gwt.user.linker.rpc
Modifier and TypeMethodDescriptionRpcLogLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) RpcPolicyManifestLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) -
Uses of TreeLogger in com.google.gwt.util.regexfilter
Modifier and TypeMethodDescriptionboolean
RegexFilter.isIncluded
(TreeLogger logger, String query)