public final Symbol symbol() {
        return symbol;
    }
Gets the symbol created for the shape.

<p>This is equivalent to calling {@code symbolProvider().toSymbol(shape())}.

@return Returns the shape's symbol.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/ShapeDirective.java