@Override
        public Void enumShape(EnumShape shape) {
            Symbol shapeSymbol = symbolProvider.toSymbol(shape);
            generateEnumValueGetterDocstring(shapeSymbol);
            writer.openBlock("public $B getEnumValue() {",
                    "}",
                    shapeSymbol,
                    () -> writer.write("return $B.from(getValue());", shapeSymbol));
            writer.newLine();
            return null;
        }
Generates getter methods for each shape member or the value type held by the trait.

<p>Optional member getters will return the member type wrapped in an {@code Optional<T>}.
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen/generators/GetterGenerator.java