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

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.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.
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
 
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.
expectProperty(String) - Method in class software.amazon.smithy.codegen.core.Symbol
Gets a specific additional property or throws if missing.
expectProperty(String, Class<T>) - Method in class software.amazon.smithy.codegen.core.Symbol
Gets a specific additional property or throws if missing or if the property is not an instance of the given type.

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.
getProperties() - Method in class software.amazon.smithy.codegen.core.Symbol
Gets the additional properties of the symbol.
getProperty(String) - Method in class software.amazon.smithy.codegen.core.Symbol
Gets a specific property if present.
getProperty(String, Class<T>) - Method in class software.amazon.smithy.codegen.core.Symbol
Gets an additional property of a specific type.

H

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

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.
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 words.
putProperty(String, Object) - Method in class software.amazon.smithy.codegen.core.Symbol.Builder
Sets a specific custom property.

R

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.
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.

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
 
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.

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.
B C D E F G H I M N P R S T W 
All Classes All Packages