Uses of Class
com.google.gwt.core.ext.TreeLogger
Packages that use 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
Fields in com.google.gwt.core.ext declared as TreeLoggerModifier and TypeFieldDescriptionstatic final TreeLoggerTreeLogger.NULLA valid logger that ignores all messages.Methods in com.google.gwt.core.ext that return TreeLoggerModifier and TypeMethodDescriptionfinal TreeLoggerTreeLogger.branch(TreeLogger.Type type, String msg) Callsbranch(com.google.gwt.core.ext.TreeLogger.Type, String, Throwable, com.google.gwt.core.ext.TreeLogger.HelpInfo)with anullcaughtandhelpInfo.final TreeLoggerTreeLogger.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 anullhelpInfo.abstract TreeLoggerTreeLogger.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.Methods in com.google.gwt.core.ext with parameters of type TreeLoggerModifier and TypeMethodDescriptionbooleanCachedPropertyInformation.checkPropertiesWithPropertyOracle(TreeLogger logger, PropertyOracle oracle) Check a previously cached set of deferred-binding and configuration properties with the provided property oracle.voidDelegatingGeneratorContext.commit(TreeLogger logger, PrintWriter pw) voidGeneratorContext.commit(TreeLogger logger, PrintWriter pw) Commits source generation begun withGeneratorContext.tryCreate(TreeLogger, String, String).voidStubGeneratorContext.commit(TreeLogger logger, PrintWriter pw) voidDelegatingGeneratorContext.commitArtifact(TreeLogger logger, Artifact<?> artifact) voidGeneratorContext.commitArtifact(TreeLogger logger, Artifact<?> artifact) Add an Artifact to theArtifactSetthat will be presented to theLinkerchain at the end of the compilation cycle.voidStubGeneratorContext.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 StringGenerator.generate(TreeLogger logger, GeneratorContext context, String typeName) Generate a default constructible subclass of the requested type.final StringIncrementalGenerator.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 RebindResultIncrementalGenerator.generateIncrementally(TreeLogger logger, GeneratorContext context, String typeName) Incrementally generate a default constructible subclass of the requested type.static RebindResultIncrementalGenerator.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.booleanServletContainerLauncher.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 ServletContainerServletContainerLauncher.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 aPrintWriterso 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 anOutputStreamso that the caller can write file contents into the named file underneath the compilation output directory.StubGeneratorContext.tryCreateResource(TreeLogger logger, String partialPath) Constructors in com.google.gwt.core.ext with parameters of type TreeLoggerModifierConstructorDescriptionCachedPropertyInformation(TreeLogger logger, PropertyOracle oracle, Collection<String> selectionPropertyNames, Collection<String> configPropertyNames) -
Uses of TreeLogger in com.google.gwt.core.ext.linker
Methods in com.google.gwt.core.ext.linker with parameters of type TreeLoggerModifier and TypeMethodDescriptionprotected final SyntheticArtifactAbstractLinker.emitBytes(TreeLogger logger, byte[] what, String partialPath) A helper method to create an artifact from an array of bytes.protected final SyntheticArtifactAbstractLinker.emitBytes(TreeLogger logger, byte[] what, String partialPath, long lastModified) A helper method to create an artifact from an array of bytes.protected final SyntheticArtifactAbstractLinker.emitInputStream(TreeLogger logger, InputStream what, String partialPath) A helper method to create an artifact to emit the contents of an InputStream.protected final SyntheticArtifactAbstractLinker.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 SyntheticArtifactAbstractLinker.emitString(TreeLogger logger, String what, String partialPath) A helper method to create an artifact to emit a String.protected final SyntheticArtifactAbstractLinker.emitString(TreeLogger logger, String what, String partialPath, long lastModified) A helper method to create an artifact to emit a String.protected final SyntheticArtifactAbstractLinker.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 SyntheticArtifactAbstractLinker.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 InputStreamEmittedArtifact.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.voidEmittedArtifact.writeTo(TreeLogger logger, OutputStream out) Provides access to the contents of the EmittedResource.voidSyntheticArtifact.writeTo(TreeLogger logger, OutputStream out) -
Uses of TreeLogger in com.google.gwt.core.linker
Methods in com.google.gwt.core.linker with parameters of type TreeLoggerModifier 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 voidSymbolMapsLinker.doEmitSymbolMap(TreeLogger logger, ArtifactSet artifacts, CompilationResult result, ByteArrayOutputStream out) Override to change the manner in which the symbol map is emitted.protected voidSymbolMapsLinker.doWriteSymbolMap(TreeLogger logger, CompilationResult result, PrintWriter pw) Override to change the format of the symbol map.protected EmittedArtifactD8ScriptLinker.emitSelectionScript(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) protected EmittedArtifactSingleScriptLinker.emitSelectionScript(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) protected SyntheticArtifactSymbolMapsLinker.emitSourceMapString(TreeLogger logger, String contents, String partialPath) protected StringCrossSiteIframeLinker.fillSelectionScriptTemplate(StringBuffer ss, TreeLogger logger, LinkerContext context, ArtifactSet artifacts, CompilationResult result) protected StringCrossSiteIframeLinker.getCompilationExtension(TreeLogger logger, LinkerContext context) protected StringD8ScriptLinker.getCompilationExtension(TreeLogger logger, LinkerContext context) Unimplemented.protected StringIFrameLinker.getCompilationExtension(TreeLogger logger, LinkerContext context) Deprecated.protected StringSingleScriptLinker.getCompilationExtension(TreeLogger logger, LinkerContext context) Unimplemented.protected StringXSLinker.getCompilationExtension(TreeLogger logger, LinkerContext context) Deprecated.protected StringCrossSiteIframeLinker.getDeferredFragmentSuffix2(TreeLogger logger, LinkerContext context, int fragment, String strongName) protected StringCrossSiteIframeLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) protected StringD8ScriptLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) Unimplemented.protected StringIFrameLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected StringIFrameLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Deprecated.protected StringSingleScriptLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) Unimplemented.protected StringXSLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected StringXSLinker.getModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Deprecated.protected StringCrossSiteIframeLinker.getModuleSuffix2(TreeLogger logger, LinkerContext context, String strongName) protected StringIFrameLinker.getModuleSuffix2(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected StringXSLinker.getModuleSuffix2(TreeLogger logger, LinkerContext context, String strongName) Deprecated.protected StringCrossSiteIframeLinker.getScriptChunkSeparator(TreeLogger logger, LinkerContext context) protected StringIFrameLinker.getScriptChunkSeparator(TreeLogger logger, LinkerContext context) Deprecated.protected StringCrossSiteIframeLinker.getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) protected StringD8ScriptLinker.getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) protected StringIFrameLinker.getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) Deprecated.protected StringSingleScriptLinker.getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) protected StringXSLinker.getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) Deprecated.protected voidCrossSiteIframeLinker.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 voidCrossSiteIframeLinker.maybeAddHostedModeFile(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, CompilationResult result) (package private) static voidIFrameLinker.maybeEmitDeprecationWarning(String linkerName, TreeLogger logger, LinkerContext context) Deprecated.protected voidCrossSiteIframeLinker.maybeOutputPropertyMap(TreeLogger logger, LinkerContext context, ArtifactSet toReturn) protected StringCrossSiteIframeLinker.wrapDeferredFragment(TreeLogger logger, LinkerContext context, int fragment, String js, ArtifactSet artifacts) protected StringXSLinker.wrapDeferredFragment(TreeLogger logger, LinkerContext context, int fragment, String js, ArtifactSet artifacts) Deprecated.protected StringCrossSiteIframeLinker.wrapPrimaryFragment(TreeLogger logger, LinkerContext context, String script, ArtifactSet artifacts, CompilationResult result) -
Uses of TreeLogger in com.google.gwt.i18n.linker
Methods in com.google.gwt.i18n.linker with parameters of type TreeLoggerModifier and TypeMethodDescriptionLocalePropertyProviderGenerator.generate(TreeLogger logger, SortedSet<String> possibleValues, String fallback, SortedSet<ConfigurationProperty> configProperties) protected voidLocalePropertyProviderGenerator.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 voidLocalePropertyProviderGenerator.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 voidLocalePropertyProviderGenerator.generateMetaLookup(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body) Generate JS code to fetch the locale from a meta property.protected voidLocalePropertyProviderGenerator.generateQueryParamLookup(TreeLogger logger, com.google.gwt.user.rebind.SourceWriter body, String queryParam) Generate JS code to get the locale from a query parameter.protected voidLocalePropertyProviderGenerator.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
Methods in com.google.gwt.i18n.rebind with parameters of type TreeLoggerModifier and TypeMethodDescriptionstatic LocaleUtilsLocaleUtils.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
Methods in com.google.gwt.i18n.rebind.format with parameters of type TreeLoggerModifier and TypeMethodDescriptionvoidMessageCatalogFormat.write(TreeLogger logger, String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, PrintWriter out, JClassType messageInterface) Write a message catalog file.voidPropertiesFormat.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
Methods in com.google.gwt.precompress.linker with parameters of type TreeLoggerModifier and TypeMethodDescriptionPrecompressLinker.link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) -
Uses of TreeLogger in com.google.gwt.resources.converter
Constructors in com.google.gwt.resources.converter with parameters of type TreeLoggerModifierConstructorDescriptionCss2Gss(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
Methods in com.google.gwt.resources.ext with parameters of type TreeLoggerModifier and TypeMethodDescriptionabstract StringAbstractResourceGenerator.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.voidAbstractResourceGenerator.createFields(TreeLogger logger, ResourceContext context, ClientBundleFields fields) A no-op implementation.voidResourceGenerator.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.voidAbstractResourceGenerator.finish(TreeLogger logger, ResourceContext context) A no-op implementation.voidResourceGenerator.finish(TreeLogger logger, ResourceContext context) Called at the end of the resource generation phase and can be used to perform cleanup.static longResourceGeneratorUtil.getLastModified(URL[] resources, TreeLogger logger) Returns the most recent value of thelast-modifiedheader fields of all the Urls in theresourcesarray.voidAbstractResourceGenerator.init(TreeLogger logger, ResourceContext context) A no-op implementation.voidResourceGenerator.init(TreeLogger logger, ResourceContext context) Initialize the ResourceGenerator with the generation context that will remain valid for the duration of the resource-generation phase.voidAbstractResourceGenerator.prepare(TreeLogger logger, ResourceContext context, ClientBundleRequirements requirements, JMethod method) A no-op implementation.voidResourceGenerator.prepare(TreeLogger logger, ResourceContext context, ClientBundleRequirements requirements, JMethod method) Called once for each method the ResourceGenerator is expected to handle.static URLResourceGeneratorUtil.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
Methods in com.google.gwt.user.linker.rpc with parameters of type TreeLoggerModifier 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
Methods in com.google.gwt.util.regexfilter with parameters of type TreeLoggerModifier and TypeMethodDescriptionbooleanRegexFilter.isIncluded(TreeLogger logger, String query) Constructors in com.google.gwt.util.regexfilter with parameters of type TreeLogger