Package software.amazon.smithy.utils
-
Interface Summary Interface Description BuilderRef<T> Manages the creation, copying, and reuse of values created by builders.CodeInterceptor<S extends CodeSection,W extends AbstractCodeWriter<W>> ACodeSection
interceptor for a specific type ofCodeSection
.CodeInterceptor.Appender<S extends CodeSection,W extends AbstractCodeWriter<W>> A code section interceptor that adds text after the intercepted section.CodeInterceptor.Prepender<S extends CodeSection,W extends AbstractCodeWriter<W>> A code section interceptor that adds text before the intercepted section.CodeSection Interface used for strongly typedAbstractCodeWriter
section values.SmithyBuilder<T> A mutable object that can be used to create an immutable object of type T.Tagged A type that contains tags.ToSmithyBuilder<T> Provides a way to get from an instance of T to aSmithyBuilder
.TriConsumer<T,U,V> Similar toBiConsumer
, but accepts three arguments. -
Class Summary Class Description AbstractCodeWriter<T extends AbstractCodeWriter<T>> Helper class for generating code.CaseUtils Provides support for camelCase, snake_case, and other kinds of case conversions.CodeWriter Deprecated. preferSimpleCodeWriter
or a custom subclass ofAbstractCodeWriter
.CodeWriterDebugInfo Provides debug information about the current state of a CodeWriter.FunctionalUtils Utilities for working with functions, predicates, etc.IoUtils Utilities for IO operations.ListUtils Immutable List utilities to polyfill Java 9+ features.MapUtils Immutable Map utilities to polyfill Java 9+ features.MediaType Implements a simple media type parser based on the Content-Type grammar defined in RFC 7231.OptionalUtils Functions that make working with optionals easier.Pair<L,R> Generic immutable pair of values.SetUtils Immutable Set utilities to polyfill Java 9+ features.SimpleCodeWriter Helper class for generating code.SimpleParser A simple expression parser that can be extended to implement parsers for small domain-specific languages.StringUtils Operations onString
that arenull
safe. -
Annotation Types Summary Annotation Type Description SmithyGenerated Annotation used to indicate that a package or class was generated and should not be edited directly.SmithyInternalApi Annotation used to indicate that an API is considered internal to Smithy and subject to change.SmithyUnstableApi Annotation used to indicate that an API is considered unstable and subject to change.