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

A

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.

B

build() - Method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine.Builder
Builds the DefaultDataTemplateEngine.
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 the provider.
build() - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
 
builder() - Static method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine
 
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() - Constructor for class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
 
Builder() - Constructor for class software.amazon.smithy.codegen.core.Symbol.Builder
 

C

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
 
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.
DefaultDataTemplateEngine - Class in software.amazon.smithy.codegen.core
Creates a template engine that always injects default values into the data model.
DefaultDataTemplateEngine(Map<String, Object>, TemplateEngine) - Constructor for class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine
 
DefaultDataTemplateEngine.Builder - Class in software.amazon.smithy.codegen.core
Builds a new DefaultDataTemplateEngine.
definitionFile(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the filename of where this symbol is defined.
delegate(TemplateEngine) - Method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine.Builder
Sets the template engine to wrap and delegate to.

E

equals(Object) - Method in class software.amazon.smithy.codegen.core.Symbol
 
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.
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.

F

filenameReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for file names.

G

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.
getFullName() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the full name of the symbol.
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.
getReferences() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the list of symbols that are referenced by this symbol.
getSymbol() - Method in class software.amazon.smithy.codegen.core.SymbolReference
Gets the referenced symbol.

H

hashCode() - Method in class software.amazon.smithy.codegen.core.Symbol
 
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.

I

identity() - Static method in interface software.amazon.smithy.codegen.core.ReservedWords
Creates a reserved word implementation that does not modify words.
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.

L

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.
memberReservedWords(ReservedWords) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the reserved word implementation for members.

N

name(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets the unqualified name of the symbol.
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.

P

properties(Map<String, Object>) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Replaces all of the custom properties.
put(String, Object) - Method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine.Builder
Sets a specific template variable.
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.
putAll(Map<String, Object>) - Method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine.Builder
Sets zero or more template variables from a map of key-value pairs.
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.
putProperty(String, Object) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets a specific custom property.

R

references(List<SymbolReference>) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Adds and 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.
removeProperty(String) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Removes a specific custom property.
render(String) - Method in interface software.amazon.smithy.codegen.core.TemplateEngine
Renders a template loaded from the given path and returns the result.
render(String, Map<String, Object>) - Method in interface software.amazon.smithy.codegen.core.TemplateEngine
Renders a template loaded from the given path and returns the result.
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.

S

software.amazon.smithy.codegen.core - package software.amazon.smithy.codegen.core
 
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.
symbolProvider(SymbolProvider) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider.Builder
Sets the required delegate symbol provider.
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.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

TemplateEngine - Interface in software.amazon.smithy.codegen.core
Abstraction to renderFile templates using a data model.
toBuilder() - Method in class software.amazon.smithy.codegen.core.Symbol
 
toMemberName(Shape) - Method in class software.amazon.smithy.codegen.core.ReservedWordSymbolProvider
 
toMemberName(Shape) - Method in interface software.amazon.smithy.codegen.core.SymbolProvider
Converts a shape to a member/property name of a containing data structure.
toString() - Method in class software.amazon.smithy.codegen.core.Symbol
 
toString() - Method in class software.amazon.smithy.codegen.core.SymbolReference
 
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.

U

USE - software.amazon.smithy.codegen.core.SymbolReference.ContextOption
Indicates that the referenced symbol is needed when importing/using the symbol.

V

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.

W

write(String, Writer, Map<String, Object>) - Method in class software.amazon.smithy.codegen.core.DefaultDataTemplateEngine
 
write(String, Writer, Map<String, Object>) - Method in interface software.amazon.smithy.codegen.core.TemplateEngine
Writes a template to the given writer.
A B C D E F G H I L M N P R S T U V W 
All Classes All Packages