Uses of Class
com.google.gwt.core.ext.UnableToCompleteException
Package
Description
Classes used to extend the GWT compiler.
Classes for writing Linkers.
A package containing implementations of the GWT bootstrap linkers.
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 that parse XML attribute values, turning them into valid Java expressions.
Classes that parse XML elements, using the context to generate widget initialization code.
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 UnableToCompleteException in com.google.gwt.core.ext
Modifier and TypeMethodDescriptionvoid
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.DelegatingGeneratorContext.commitResource
(TreeLogger logger, OutputStream os) GeneratorContext.commitResource
(TreeLogger logger, OutputStream os) Commits resource generation begun withGeneratorContext.tryCreateResource(TreeLogger, String)
.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.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.abstract void
ServletContainer.refresh()
Causes the web app to pick up changes made within the app root dir while running.Linker.relink
(TreeLogger logger, LinkerContext context, ArtifactSet newArtifacts) Re-invoke the Linker with newly generated artifacts.abstract void
ServletContainer.stop()
Stops the running servlet container.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. -
Uses of UnableToCompleteException 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 UnableToCompleteException 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
D8ScriptLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Unimplemented.protected String
SingleScriptLinker.getCompilationExtension
(TreeLogger logger, LinkerContext context) Unimplemented.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
D8ScriptLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) protected String
SingleScriptLinker.getSelectionScriptTemplate
(TreeLogger logger, LinkerContext context) protected void
CrossSiteIframeLinker.includeJs
(StringBuffer selectionScript, TreeLogger logger, String jsSource, String templateVar) IFrameLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) Deprecated.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) protected String
CrossSiteIframeLinker.wrapPrimaryFragment
(TreeLogger logger, LinkerContext context, String script, ArtifactSet artifacts, CompilationResult result) -
Uses of UnableToCompleteException 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 UnableToCompleteException 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. -
Uses of UnableToCompleteException in com.google.gwt.precompress.linker
Modifier and TypeMethodDescriptionPrecompressLinker.link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation) -
Uses of UnableToCompleteException in com.google.gwt.resources.converter
-
Uses of UnableToCompleteException 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.ResourceContext.deploy
(String suggestedFileName, String mimeType, byte[] data, boolean forceExternal) Cause a specific collection of bytes to be available in the program's compiled output.Deprecated.Cause a specific collection of bytes to be available in the program's compiled output.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.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. -
Uses of UnableToCompleteException in com.google.gwt.uibinder.attributeparsers
Modifier and TypeMethodDescriptionParse the given attribute value.HorizontalAlignmentConstantParser.parse
(com.google.gwt.uibinder.rebind.XMLElement source, String value) If the value holds a single field reference "{like.this}", converts it to a Java Expression.VerticalAlignmentConstantParser.parse
(com.google.gwt.uibinder.rebind.XMLElement source, String value) -
Uses of UnableToCompleteException in com.google.gwt.uibinder.elementparsers
Modifier and TypeMethodDescriptionprotected String
HtmlPlaceholderInterpreter.consumePlaceholderInnards
(com.google.gwt.uibinder.rebind.XMLElement elem) protected String
TextPlaceholderInterpreter.consumePlaceholderInnards
(com.google.gwt.uibinder.rebind.XMLElement elem) ComputedAttributeInterpreter.DefaultDelegate.getAttributeToken
(com.google.gwt.uibinder.rebind.XMLAttribute attribute) ComputedAttributeInterpreter.Delegate.getAttributeToken
(com.google.gwt.uibinder.rebind.XMLAttribute attribute) UiTextInterpreter.Delegate.getAttributeToken
(com.google.gwt.uibinder.rebind.XMLAttribute attribute) (package private) void
DialogBoxParser.handleConstructorArgs
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer, com.google.gwt.uibinder.rebind.XMLElement customCaption) If this is DialogBox (not a subclass), parse constructor args and generate the constructor call.AttributeMessageInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) ComputedAttributeInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) FieldInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) HtmlInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) HtmlMessageInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) HtmlPlaceholderInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) InterpreterPipe.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) Interpreters are fired in the order they were handed to the constructor.IsRenderableInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) TextInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) UiTextInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) WidgetInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) WidgetPlaceholderInterpreter.interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) protected boolean
DialogBoxParser.isCaption
(com.google.gwt.uibinder.rebind.UiBinderWriter writer, com.google.gwt.uibinder.rebind.XMLElement element) Determines if the element implements Caption.void
AbsolutePanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
AttributeMessageParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
BeanParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) Generates code to initialize all bean attributes on the given element.void
CellPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
CustomButtonParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DateLabelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DialogBoxParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DisclosurePanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, String panelField, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DockLayoutPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DockPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
DomElementParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
ElementParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) Parse the given element, generating the code to initialize it from the element's attributes and children.void
FlowPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
GridParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HasAlignmentParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HasHTMLParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HasTextParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HasTreeItemsParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HasWidgetsParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
HTMLPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
ImageParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
IsEmptyParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
LayoutPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
LazyPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
ListBoxParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
MenuBarParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
MenuItemParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
NumberLabelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
RenderablePanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
StackLayoutPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
StackPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
TabLayoutPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
TabPanelParser.parse
(com.google.gwt.uibinder.rebind.XMLElement panelElem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
UiChildParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) void
UIObjectParser.parse
(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) protected static void
CellPanelParser.parseCellAttributes
(com.google.gwt.uibinder.rebind.XMLElement cellElem, String fieldName, com.google.gwt.uibinder.rebind.FieldWriter childField, com.google.gwt.uibinder.rebind.UiBinderWriter writer) Parses the alignment and size attributes common to all CellPanels.InterpreterPipe.postProcess
(String consumedText) Called by variousXMLElement
consumeInner*() methods after all elements have been handed toInterpreterPipe.interpretElement(com.google.gwt.uibinder.rebind.XMLElement)
.WidgetPlaceholderInterpreter.postProcess
(String consumed) Called byXMLElement.consumeInnerHtml(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>)
after all elements have been handed toWidgetPlaceholderInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement)
. -
Uses of UnableToCompleteException 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 UnableToCompleteException in com.google.gwt.util.regexfilter
ResourceContext.deploy(URL, String, boolean)
instead