def METHOD_NAME(self, **kwargs: Any) -> str:
    if (
        self.code_model.options["version_tolerant"]
        and self.element_type.xml_metadata
    ):
        # this means we're version tolerant XML, we just return the XML element
        return self.element_type.METHOD_NAME(**kwargs)
    return f"list of {self.element_type.METHOD_NAME(**kwargs)}"