Class CreateContextDirective<S,I extends SmithyIntegration<S,?,?>>

java.lang.Object
software.amazon.smithy.codegen.core.directed.Directive<S>
software.amazon.smithy.codegen.core.directed.CreateContextDirective<S,I>
Type Parameters:
S - Codegen settings type.
I - SmithyIntegration type.

public final class CreateContextDirective<S,I extends SmithyIntegration<S,?,?>> extends Directive<S>
Directive used to create a CodegenContext.
See Also:
  • Method Details

    • symbolProvider

      public SymbolProvider symbolProvider()
      Returns:
      Returns the SymbolProvider used during codegen.
    • fileManifest

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

      public List<I> integrations()
      Returns:
      Returns the list of Integrations used during codegen.
    • supportedProtocols

      public Map<ShapeId,Trait> supportedProtocols()
      Get a map of supported protocols on the service shape in the form of shape ID to the definition of the trait.
      Returns:
      Returns the protocol shape IDs of the service.
      See Also: