A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

A

addDependency(String, String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Add a symbol dependency.
addDependency(String, String, String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Add a symbol dependency.
addDependency(SymbolDependencyContainer) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Add a symbol dependency.
addDependency(SymbolDependencyContainer) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Adds one or more dependencies to the generated code (represented as a SymbolDependency).
addImport(Symbol, String, SymbolReference.ContextOption...) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Imports a symbol (if necessary) using a specific alias and list of context options.
addReference(Symbol) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Add a symbol reference to indicate that this symbol points to or contains references to other symbols.
addReference(SymbolReference) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Add a symbol reference to indicate that this symbol points to or contains references to other symbols.
addShapeLink(String, ShapeLink) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
Adds a ShapeLink to this ShapeId in the TraceFile's shapes map.
addShapeLink(ShapeId, ShapeLink) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
Adds a ShapeLink to this ShapeId in the TraceFile's shapes map.
addShapeLinks(String, List<ShapeLink>) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
Adds a list of ShapeLinks to this ShapeId in the TraceFile's shapes map.
addShapeLinks(ShapeId, List<ShapeLink>) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
Adds a list of ShapeLinks to this ShapeId in the TraceFile's shapes map.
addTag(String) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
Adds a tag to the tags list of a ShapeLink.
addTag(String, String) - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
Adds the tag's key, value pair to the tags map.
addType(String, String) - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
Adds the type's key, value pair to the tags map.
addUseImports(SymbolContainer) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Imports one or more USE symbols using the name of the symbol (e.g., SymbolReference.ContextOption.USE references).
addUseImports(SymbolReference) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Imports a USE symbols possibly using an alias of the symbol (e.g., SymbolReference.ContextOption.USE references).
alias(String) - Method in class software.amazon.smithy.codegen.core.SymbolReference.Builder
Adds an alias to the SymbolReference.
apply(String, String) - Method in interface software.amazon.smithy.codegen.core.writer.CodegenWriterFactory
Creates a CodegenWriter of type T for the given filename and namespace.
artifactDefinitions(ArtifactDefinitions) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Sets this Builder's ArtifactDefinitions.
ArtifactDefinitions - Class in software.amazon.smithy.codegen.core.trace
Class that defines the acceptable values that can be used in ShapeLink objects.
ArtifactDefinitions.Builder - Class in software.amazon.smithy.codegen.core.trace
 

B

build() - Method in class software.amazon.smithy.codegen.core.MappedReservedWords.Builder
Builds the reserved words.
build() - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Builds the reserved words.
build() - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Builds a SymbolProvider implementation that wraps another symbol provider and escapes its results.
build() - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.SymbolDependency.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.SymbolReference.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
build() - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Builds a TracingSymbolProvider implementation.
build() - Method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
Creates a DocumentationWriter configured by the builder.
builder() - Static method in class software.amazon.smithy.codegen.core.MappedReservedWords
 
builder() - Static method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider
Builder to create a ReservedWordSymbolProvider instance.
builder() - Static method in class software.amazon.smithy.codegen.core.Symbol
Creates a new Symbol builder.
builder() - Static method in class software.amazon.smithy.codegen.core.SymbolDependency
 
builder() - Static method in class software.amazon.smithy.codegen.core.SymbolReference
 
builder() - Static method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
 
builder() - Static method in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
builder() - Static method in class software.amazon.smithy.codegen.core.trace.TraceFile
 
builder() - Static method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 
builder() - Static method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider
Builder to create a TracingSymbolProvider instance.
Builder() - Constructor for class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.Symbol.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
 
buildEscaper() - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Builds a SymbolProvider.Escaper that is used to manually escape Symbols and member names.
buildTraceFile() - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider
Builds and returns the TracingSymbolProvider's TraceFile.Builder.

C

cache(SymbolProvider) - Static method in interface software.amazon.smithy.codegen.core.SymbolProvider
Decorates a SymbolProvider with a cache and returns the decorated SymbolProvider.
CodegenException - Exception in software.amazon.smithy.codegen.core
Thrown when an error occurs during code generation.
CodegenException(String) - Constructor for exception software.amazon.smithy.codegen.core.CodegenException
 
CodegenException(String, Throwable) - Constructor for exception software.amazon.smithy.codegen.core.CodegenException
 
CodegenException(Throwable) - Constructor for exception software.amazon.smithy.codegen.core.CodegenException
 
CodegenWriter<T extends CodegenWriter<T,​U>,​U extends ImportContainer> - Class in software.amazon.smithy.codegen.core.writer
A CodeGenWriter is a specialized CodeWriter that makes it easier to implement code generation that utilizes Symbols and SymbolDependency values.
CodegenWriter(DocumentationWriter<T>, U) - Constructor for class software.amazon.smithy.codegen.core.writer.CodegenWriter
 
CodegenWriterDelegator<T extends CodegenWriter<T,​?>> - Class in software.amazon.smithy.codegen.core.writer
Creates and manages CodegenWriters for files and namespaces based on Symbols created for a Shape.
CodegenWriterDelegator(FileManifest, SymbolProvider, CodegenWriterFactory<T>) - Constructor for class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
 
CodegenWriterFactory<T extends CodegenWriter<T,​?>> - Interface in software.amazon.smithy.codegen.core.writer
Factory used to create a CodegenWriter.
column(Integer) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
Sets tags list of a ShapeLink.
COLUMN_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
compareTo(SymbolDependency) - Method in class software.amazon.smithy.codegen.core.SymbolDependency
Dependencies can be sorted based on the natural sort order of the dependencyType, packageName, and finally the version.
compose(ReservedWords...) - Static method in interface software.amazon.smithy.codegen.core.ReservedWords
Composes multiple instance of ReservedWords into a single implementation that delegates to them one after the other.

D

declarationFile(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the filename of where this symbol is declared.
DECLARE - software.amazon.smithy.codegen.core.SymbolReference.ContextOption
Indicates that the referenced symbol is needed when declaring the symbol.
definitionFile(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the filename of where this symbol is defined.
definitions(ArtifactDefinitions) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
DEFINITIONS_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceFile
 
dependencies(List<SymbolDependency>) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Replaces the symbol dependencies of the symbol.
dependencies(SymbolDependencyContainer) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Replaces the symbol dependencies of the symbol.
dependencyType(String) - Method in class software.amazon.smithy.codegen.core.SymbolDependency.Builder
Sets the type of dependency (for example, "dev", "optional", etc).
DocumentationWriter<T extends software.amazon.smithy.utils.CodeWriter> - Interface in software.amazon.smithy.codegen.core.writer
Responsible for properly writing documentation emitted when a Runnable in invoked.

E

equals(Object) - Method in class software.amazon.smithy.codegen.core.Symbol
 
equals(Object) - Method in class software.amazon.smithy.codegen.core.SymbolDependency
 
equals(Object) - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
escape(String) - Method in class software.amazon.smithy.codegen.core.MappedReservedWords
 
escape(String) - Method in interface software.amazon.smithy.codegen.core.ReservedWords
Escapes a reserved word.
escapeAtSignWithEntity(boolean) - Method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
Sets whether or not the "@" sign is escaped with an HTML entity.
escapeAtSignWithEntity(String) - Static method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
A function used to escape the @ sign of a documentation comment with an HTML entity of &#064;.
escapeClosingChars(String) - Static method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
A function used to escape the closing tokens of a documentation comment.
escapeMemberName(String) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Escaper
Escapes the given member name if needed.
escapePredicate(BiPredicate<Shape, Symbol>) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets a predicate that is used to control when a shape + symbol combination should be checked if it's a reserved word.
escapeSymbol(Shape, Symbol) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Escaper
Escapes the given symbol using the reserved words implementations registered for each component.

F

file(String) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
Sets File of a ShapeLink.
FILE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
filenameReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for file names.
flushWriters() - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Writes each pending CodegenWriter to the FileManifest.
fromNode(Node) - Static method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
Converts an ObjectNode that represents the definitions section of the trace file into a types maps and tags map.
fromNode(Node) - Static method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Instantiates ShapeLink instance variables by extracting data from an ObjectNode.
fromNode(Node) - Static method in class software.amazon.smithy.codegen.core.trace.TraceFile
Converts ObjectNode into TraceFile.
fromNode(Node) - Static method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Instantiates TraceMetadata instance variables using an ObjectNode that contains the artifact section of the trace file.

G

gatherDependencies(Stream<SymbolDependency>) - Static method in class software.amazon.smithy.codegen.core.SymbolDependency
Gets a mapping of all dependencies used by the provided symbols.
gatherDependencies(Stream<SymbolDependency>, BinaryOperator<SymbolDependency>) - Static method in class software.amazon.smithy.codegen.core.SymbolDependency
Gets a mapping of all dependencies used by the provided symbols.
getAlias() - Method in class software.amazon.smithy.codegen.core.SymbolReference
Gets the alias to use when referring to the Symbol.
getArtifactDefinitions() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Gets this TraceFile's Definitions.
getColumn() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's column number in an optional container.
getDeclarationFile() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the location/filename in which the symbol is declared.
getDefinitionFile() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the location/filename in which the symbol is defined.
getDependencies() - Method in class software.amazon.smithy.codegen.core.Symbol
 
getDependencies() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
 
getDependencies() - Method in interface software.amazon.smithy.codegen.core.SymbolDependencyContainer
Gets the list of dependencies that this object introduces.
getDependencies() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
getDependencies() - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
 
getDependencies() - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Gets all of the dependencies that have been registered in writers created by the CodegenWriterDelegator.
getDependencyType() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
Gets the type of dependency (for example, "dev", "optional", etc).
getFile() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's file in an optional container.
getFullName() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the full name of the symbol.
getHomepage() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's Homepage in an Optional container.
getId() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's id.
getId() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's id.
getImportContainer() - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Gets the import container associated with the writer.
getLine() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's line number in an optional container.
getMetadata() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Gets this TraceFile's TraceMetadata.
getName() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the unqualified name of the symbol, that is, a name with namespace.
getNamespace() - Method in class software.amazon.smithy.codegen.core.Symbol
Provides the namespace of the symbol or "" if empty.
getNamespaceDelimiter() - Method in class software.amazon.smithy.codegen.core.Symbol
Provides the namespace delimiter of the symbol or "" if empty.
getOptions() - Method in class software.amazon.smithy.codegen.core.SymbolReference
Gets all of the reference options.
getOrderedShapes() - Method in class software.amazon.smithy.codegen.core.TopologicalIndex
Gets all reverse-topologically ordered shapes, including members.
getPackageName() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
Gets the package name referenced by the dependency.
getRecursiveClosure(ToShapeId) - Method in class software.amazon.smithy.codegen.core.TopologicalIndex
Gets the recursive closure of a given shape represented as PathFinder.Path objects.
getRecursiveShapes() - Method in class software.amazon.smithy.codegen.core.TopologicalIndex
Gets all shapes that have edges that are part of a recursive closure, including container shapes (list/set/map/structure/union) and members.
getReferences() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the list of symbols that are referenced by this symbol.
getShapes() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Gets this TraceFile's Shapes map.
getSmithyTrace() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Gets this TraceFile's smithyTrace.
getSymbol() - Method in class software.amazon.smithy.codegen.core.SymbolReference
Gets the referenced symbol.
getSymbols() - Method in class software.amazon.smithy.codegen.core.Symbol
 
getSymbols() - Method in interface software.amazon.smithy.codegen.core.SymbolContainer
Returns any Symbol objects contained in the object.
getSymbols() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
getTags() - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
Gets this Definition's Tags Map.
getTags() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's tags list.
getTimestamp() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's timestamp.
getType() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Gets this ShapeLink's type.
getType() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's type.
getTypes() - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
Gets this Definition's Types Map.
getTypeVersion() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's TypeVersion in an Optional container.
getVersion() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
Gets the version string of the dependency.
getVersion() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Gets this TraceMetadata's version (for example, the AWS SDK release number).
getWriters() - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Returns an immutable Map of created CodegenWriters.

H

hashCode() - Method in class software.amazon.smithy.codegen.core.Symbol
 
hashCode() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
 
hashCode() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
hasOption(SymbolReference.Option) - Method in class software.amazon.smithy.codegen.core.SymbolReference
Checks if the given option is set on the symbol.
homepage(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
Sets this builder's homepage.
HOMEPAGE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 

I

id(String) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
 
id(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
ID_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
ID_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 
identity() - Static method in interface software.amazon.smithy.codegen.core.ReservedWords
Creates a reserved word implementation that does not modify words.
ImportContainer - Interface in software.amazon.smithy.codegen.core.writer
Contains the imports associated with a specific file.
importSymbol(Symbol, String) - Method in interface software.amazon.smithy.codegen.core.writer.ImportContainer
Adds an import for the given symbol if and only if the "namespace" of the provided Symbol differs from the "namespace" associated with the ImportContainer.
isRecursive(ToShapeId) - Method in class software.amazon.smithy.codegen.core.TopologicalIndex
Checks if the given shape has edges with recursive references.
isReserved(String) - Method in class software.amazon.smithy.codegen.core.MappedReservedWords
 
isReserved(String) - Method in interface software.amazon.smithy.codegen.core.ReservedWords
Checks if the given word is reserved.

J

JavaStyleDocumentationWriterBuilder - Class in software.amazon.smithy.codegen.core.writer
A builder used to create a DocumentationWriter for Java style documentation comments.
JavaStyleDocumentationWriterBuilder() - Constructor for class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
 

L

line(Integer) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
Sets line of a ShapeLink.
LINE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
loadCaseInsensitiveWords(URL) - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Load a list of case-insensitive, line-delimited reserved words from a file.
loadCaseInsensitiveWords(URL, Function<String, String>) - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Load a list of case-insensitive, line-delimited reserved words from a file.
loadWords(URL) - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Load a list of case-sensitive, line-delimited reserved words from a file.
loadWords(URL, Function<String, String>) - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Load a list of case-sensitive, line-delimited reserved words from a file.

M

MappedReservedWords - Class in software.amazon.smithy.codegen.core
A reserved words implementation that maps known words to other words.
MappedReservedWords(Map<String, String>, Map<String, String>) - Constructor for class software.amazon.smithy.codegen.core.MappedReservedWords
 
MappedReservedWords.Builder - Class in software.amazon.smithy.codegen.core
Builder to create a new MappedReservedWords instance.
mappingFunction(Function<String, String>) - Method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
Sets a custom mapping function to use when filtering documentation.
memberReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for members.
metadata(TraceMetadata) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
metadata(TraceMetadata) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Sets this Builder's TraceMetadata.
METADATA_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceFile
 

N

name(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the unqualified name of the symbol.
namedDocumentationSection(String) - Method in class software.amazon.smithy.codegen.core.writer.JavaStyleDocumentationWriterBuilder
Sets a specific named section to use when writing documentation.
nameReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for names (structures names, class names, etc.).
namespace(String, String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the namespace and namespace delimiter of the symbol.
namespaceReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for namespace names.

O

observe(Shape, Symbol, SymbolProvider, T) - Method in interface software.amazon.smithy.codegen.core.writer.UseShapeWriterObserver
of(Model) - Static method in class software.amazon.smithy.codegen.core.TopologicalIndex
Creates a new TopologicalIndex.
options(Set<SymbolReference.Option>) - Method in class software.amazon.smithy.codegen.core.SymbolReference.Builder
Adds a Set of Options to the SymbolReference.
options(SymbolReference.Option...) - Method in class software.amazon.smithy.codegen.core.SymbolReference.Builder
Adds an array of Options to the SymbolReference.

P

packageName(String) - Method in class software.amazon.smithy.codegen.core.SymbolDependency.Builder
Sets the package name of the dependency.
put(String, String) - Method in class software.amazon.smithy.codegen.core.MappedReservedWords.Builder
Add a new reserved words.
put(String, String) - Method in class software.amazon.smithy.codegen.core.ReservedWordsBuilder
Add a new reserved words.
putCaseInsensitive(String, String) - Method in class software.amazon.smithy.codegen.core.MappedReservedWords.Builder
Add a new case-insensitive reserved word that converts the given reserved word to the given conversion string.

R

references(List<SymbolReference>) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Replaces the symbol references to the symbol.
relativize(String) - Method in class software.amazon.smithy.codegen.core.Symbol
Creates a relativized Symbol for the given namespace.
ReservedWords - Interface in software.amazon.smithy.codegen.core
Determines what is reserved and escapes reserved words.
ReservedWordsBuilder - Class in software.amazon.smithy.codegen.core
Builds a ReservedWords implementation from explicit mappings and from line-delimited files that contain reserved words.
ReservedWordsBuilder() - Constructor for class software.amazon.smithy.codegen.core.ReservedWordsBuilder
 
ReservedWordSymbolProvider - Class in software.amazon.smithy.codegen.core
Decorates a SymbolProvider by passing values through context specific ReservedWords implementations.
ReservedWordSymbolProvider.Builder - Class in software.amazon.smithy.codegen.core
Builder to build a ReservedWordSymbolProvider.
ReservedWordSymbolProvider.Escaper - Class in software.amazon.smithy.codegen.core
Uses to manually escape Symbols and member names.

S

setAutomaticSeparator(String) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Sets the automatic separator that is written to a CodegenWriter each time the writer is reused.
setOnShaperWriterUseObserver(UseShapeWriterObserver<T>) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Sets the observer to invoke when shape writers are used.
setTimestampAsNow() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
Sets the timestamp as the current time in RFC 3339 format.
setTraceMetadataAsDefault(String) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Sets the Builder's TraceMetadata based on the given type and default values for other required fields.
ShapeLink - Class in software.amazon.smithy.codegen.core.trace
Class that defines a link between the Smithy Shape and the artifact that it produced.
ShapeLink.Builder - Class in software.amazon.smithy.codegen.core.trace
 
shapeLinkCreator(BiFunction<Shape, Symbol, List<ShapeLink>>) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Sets this Builder's shapeLinkCreator.
shapes(Map<ShapeId, List<ShapeLink>>) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
SHAPES_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceFile
 
SMITHY_TRACE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceFile
 
SMITHY_TRACE_VERSION - Static variable in class software.amazon.smithy.codegen.core.trace.TraceFile
 
smithyTrace(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile.Builder
 
software.amazon.smithy.codegen.core - package software.amazon.smithy.codegen.core
Defines abstractions for implementing Smithy model code generation.
software.amazon.smithy.codegen.core.trace - package software.amazon.smithy.codegen.core.trace
Defines abstractions for implementing Smithy model trace file generation.
software.amazon.smithy.codegen.core.writer - package software.amazon.smithy.codegen.core.writer
 
symbol(Symbol) - Method in class software.amazon.smithy.codegen.core.SymbolReference.Builder
Sets the Symbol referenced by the SymbolReference.
Symbol - Class in software.amazon.smithy.codegen.core
A "symbol" is created by a SymbolProvider, and represents the qualified name of a type in a target programming language.
Symbol.Builder - Class in software.amazon.smithy.codegen.core
Builds a Symbol.
SymbolContainer - Interface in software.amazon.smithy.codegen.core
A holder for Symbol objects.
SymbolDependency - Class in software.amazon.smithy.codegen.core
Represents a dependency that is introduced by a Symbol.
SymbolDependency.Builder - Class in software.amazon.smithy.codegen.core
Builds a SymbolDependency.
SymbolDependencyContainer - Interface in software.amazon.smithy.codegen.core
A container for SymbolDependency objects.
symbolProvider(SymbolProvider) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the delegate symbol provider.
symbolProvider(SymbolProvider) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider.Builder
Sets this Builder's SymbolProvider.
SymbolProvider - Interface in software.amazon.smithy.codegen.core
Provides Symbol objects for shapes.
SymbolReference - Class in software.amazon.smithy.codegen.core
Represents a reference from a Symbol to another Symbol.
SymbolReference(Symbol, Map<String, Object>, SymbolReference.Option...) - Constructor for class software.amazon.smithy.codegen.core.SymbolReference
 
SymbolReference(Symbol, SymbolReference.Option...) - Constructor for class software.amazon.smithy.codegen.core.SymbolReference
 
SymbolReference.Builder - Class in software.amazon.smithy.codegen.core
Builds a SymbolReference.
SymbolReference.ContextOption - Enum in software.amazon.smithy.codegen.core
Options used to control the context of when the symbol reference is needed.
SymbolReference.Option - Interface in software.amazon.smithy.codegen.core
Top-level interface for all SymbolReference options.

T

tags(List<String>) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
Sets tags list of a ShapeLink.
tags(Map<String, String>) - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
 
TAGS_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
 
TAGS_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
timestamp(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
TIMESTAMP_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 
toBuilder() - Method in class software.amazon.smithy.codegen.core.Symbol
 
toBuilder() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
 
toBuilder() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
toBuilder() - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
Take this object and create a builder that contains all of the current property values of this object.
toBuilder() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Take this object and create a builder that contains all of the current property values of this object.
toBuilder() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Take this object and create a builder that contains all of the current property values of this object.
toBuilder() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Take this object and create a builder that contains all of the current property values of this object.
toMemberName(MemberShape) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider
 
toMemberName(MemberShape) - Method in interface software.amazon.smithy.codegen.core.SymbolProvider
Converts a member shape to a member/property name of a containing data structure.
toMemberName(MemberShape) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider
 
toNode() - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
Converts the types and tags Maps into a single ObjectNode.
toNode() - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink
Converts instance variables into an ObjectNode for writing out a ShapeLink.
toNode() - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Converts TraceFile instance variables into an ObjectNode.
toNode() - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata
Converts the metadata contained in TraceMetadata's variables into an ObjectNode.
TopologicalIndex - Class in software.amazon.smithy.codegen.core
Creates a reverse-topological ordering of shapes.
TopologicalIndex(Model) - Constructor for class software.amazon.smithy.codegen.core.TopologicalIndex
 
toString() - Method in class software.amazon.smithy.codegen.core.Symbol
 
toString() - Method in class software.amazon.smithy.codegen.core.SymbolDependency
 
toString() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
toString() - Method in interface software.amazon.smithy.codegen.core.writer.ImportContainer
Implementations must implement a custom toString method that converts the collected imports to code that can be written to a CodeWriter.
toSymbol(Shape) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider
 
toSymbol(Shape) - Method in interface software.amazon.smithy.codegen.core.SymbolProvider
Gets the symbol to define for the given shape.
toSymbol(Shape) - Method in class software.amazon.smithy.codegen.core.trace.TracingSymbolProvider
Converts a shape into a symbol by calling the toSymbol method of the SymbolProvider used to construct this TracingSymbolProvider.
TraceFile - Class in software.amazon.smithy.codegen.core.trace
Class that represents the contents of a Smithy trace file.
TraceFile.Builder - Class in software.amazon.smithy.codegen.core.trace
Builder for constructing TraceFile's from scratch.
TraceMetadata - Class in software.amazon.smithy.codegen.core.trace
Class that defines information a code-generated artifact.
TraceMetadata.Builder - Class in software.amazon.smithy.codegen.core.trace
 
TracingSymbolProvider - Class in software.amazon.smithy.codegen.core.trace
Decorates a SymbolProvider with a TraceFile.Builder and adds a ShapeLink object to the builder on each call to toSymbol.
TracingSymbolProvider.Builder - Class in software.amazon.smithy.codegen.core.trace
Builder to create a TracingSymbolProvider instance.
type(String) - Method in class software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
 
type(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
TYPE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions
 
TYPE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.ShapeLink
 
TYPE_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 
TYPE_VERSION_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 
types(Map<String, String>) - Method in class software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
 
typeVersion(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
Sets this builder's typeVersion.

U

USE - software.amazon.smithy.codegen.core.SymbolReference.ContextOption
Indicates that the referenced symbol is needed when importing/using the symbol.
useFileWriter(String, String, Consumer<T>) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Gets a previously created writer or creates a new one if needed.
useFileWriter(String, Consumer<T>) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Gets a previously created CodegenWriter or creates a new one if needed.
useShapeWriter(Shape, Consumer<T>) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriterDelegator
Gets or creates a writer for a Shape by converting the Shape to a Symbol.
UseShapeWriterObserver<T extends CodegenWriter<T,​?>> - Interface in software.amazon.smithy.codegen.core.writer
An observer invoked when a shape CodegenWriter is used.

V

validateModel(Model) - Method in class software.amazon.smithy.codegen.core.trace.TraceFile
Parses model and determines whether the trace file object meets the specs of the model by checking if the trace file contains all the ShapeIds in the model and the model contains all the ShapeIDs in the trace file.
valueOf(String) - Static method in enum software.amazon.smithy.codegen.core.SymbolReference.ContextOption
Returns the enum constant of this type with the specified name.
values() - Static method in enum software.amazon.smithy.codegen.core.SymbolReference.ContextOption
Returns an array containing the constants of this enum type, in the order they are declared.
version(String) - Method in class software.amazon.smithy.codegen.core.SymbolDependency.Builder
Sets the version string of the dependency.
version(String) - Method in class software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
 
VERSION_TEXT - Static variable in class software.amazon.smithy.codegen.core.trace.TraceMetadata
 

W

writeDocs(Runnable) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Writes documentation comments.
writeDocs(String) - Method in class software.amazon.smithy.codegen.core.writer.CodegenWriter
Writes documentation comments from a string.
writeDocs(T, Runnable) - Method in interface software.amazon.smithy.codegen.core.writer.DocumentationWriter
Writes documentation comments.
A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages