def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    self.className.describe_signature(signode, mode, env, symbol)
    signode += nodes.Text('::*')

    def _add_anno(signode: TextElement, text: str) -> None:
        signode += addnodes.desc_annotation(text, text)
    if self.volatile:
        _add_anno(signode, 'volatile')
    if self.const:
        if self.volatile:
            signode += nodes.Text(' ')
        _add_anno(signode, 'const')
    if self.next.require_space_after_declSpecs():
        signode += nodes.Text(' ')
    self.next.describe_signature(signode, mode, env, symbol)
def describe_signature(self, signode: TextElement, mode: str, env: 'BuildEnvironment', symbol: 'Symbol') -> None:
    verify_description_mode(mode)
    self.className.describe_signature(signode, mode, env, symbol)
    signode += nodes.Text('::*')

    def _add_anno(signode: TextElement, text: str) -> None:
        signode += addnodes.desc_annotation(text, text)
    if self.volatile:
        _add_anno(signode, 'volatile')
    if self.const:
        if self.volatile:
            signode += nodes.Text(' ')
        _add_anno(signode, 'const')
    if self.next.require_space_after_declSpecs():
        signode += nodes.Text(' ')
    self.next.describe_signature(signode, mode, env, symbol)