def METHOD_NAME(self) -> None:
    # Can be re-analyzed due to inheritance
    if self._params_was_analyzed:
        return
    self._params_was_analyzed = True
    if self._slither_parser.is_compact_ast:
        params = self._custom_error_data["parameters"]
    else:
        children = self._custom_error_data[self.get_children("children")]
        # It uses to be
        # params = children[0]
        # returns = children[1]
        # But from Solidity 0.6.3 to 0.6.10 (included)
        # Comment above a function might be added in the children
        child_iter = iter(
            [child for child in children if child[self.get_key()] == "ParameterList"]
        )
        params = next(child_iter)
    if params:
        self._parse_params(params)