@Override
        public Symbol toSymbol(Shape shape) {
            var symbol = wrapped.toSymbol(shape);
            if (!symbol.getProperty(ENABLE_DEFAULT_FILE_EXTENSION, Boolean.class).orElse(false)) {
                return symbol;
            }
            return symbol.toBuilder()
                    .definitionFile(addExtension(symbol.getDefinitionFile()))
                    .declarationFile(addExtension(symbol.getDeclarationFile()))
                    .build();
        }
Constructor.
@param wrapped The symbol provider to wrap.
@param extension The file extension to add. This must include any necessary periods.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DocSymbolProvider.java