@Override
        public Void intEnumShape(IntEnumShape shape) {
            writer.pushState(new GetterSection(shape));
            writer.openBlock("public $T getValue() {",
                    "}",
                    Integer.class,
                    () -> writer.write("return value;"));
            writer.popState();
            writer.newLine();

            Symbol shapeSymbol = symbolProvider.toSymbol(shape);
            generateEnumValueGetterDocstring(shapeSymbol);
            writer.openBlock("public $B getEnumValue() {",
                    "}",
                    shapeSymbol,
                    () -> writer.write("return $B.from(value);", 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