Interface CodegenContext<S,​W extends SymbolWriter<W,​?>,​I extends SmithyIntegration<S,​W,​?>>

    • Method Detail

      • model

        Model model()
        Returns:
        Gets the model being code generated.
      • settings

        S settings()
        Returns:
        Gets code generation settings.
      • symbolProvider

        SymbolProvider symbolProvider()
        Returns:
        Gets the SymbolProvider used for code generation.
      • fileManifest

        FileManifest fileManifest()
        Returns:
        Gets the FileManifest being written to for code generation.
      • writerDelegator

        WriterDelegator<W> writerDelegator()
        Get the WriterDelegator used for generating code.

        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.

        Returns:
        Returns the writer delegator used by the generator.
      • integrations

        java.util.List<I> integrations()
        Returns:
        Gets the SmithyIntegrations used for code generation.