public String getMetadata(String key) {
        return metadata.get(key);
    }
Gets debug metadata by name.

@param key Value to retrieve.
@return Returns the string value or null if not found.
smithy-utils/src/main/java/software/amazon/smithy/utils/CodeWriterDebugInfo.java