Class ShapeDirective<T extends software.amazon.smithy.model.shapes.Shape,​C extends CodegenContext<S,​?,​?>,​S>

    • Method Detail

      • shape

        public final T shape()
        Gets the shape being generated.
        Returns:
        Returns the shape to generate.
      • symbol

        public final Symbol symbol()
        Gets the symbol created for the shape.

        This is equivalent to calling symbolProvider().toSymbol(shape()).

        Returns:
        Returns the shape's symbol.