S
- The settings object used to configure the generator.W
- The type of SymbolWriter
used by the generator.public interface CodegenContext<S,W extends SymbolWriter<W,?>>
SmithyIntegration
.Modifier and Type | Method and Description |
---|---|
FileManifest |
fileManifest() |
Model |
model() |
S |
settings() |
SymbolProvider |
symbolProvider() |
WriterDelegator<W> |
writerDelegator()
Get the WriterDelegator used for generating code.
|
Model model()
S settings()
SymbolProvider symbolProvider()
FileManifest fileManifest()
WriterDelegator<W> writerDelegator()
Generates might need other delegators for specific purposes, and it's fine to add more methods for those specific purposes. If an implementation uses a specific subclass of a WriterDelegator, implementations can override this method to return a more specific WriterDelegator type.