def METHOD_NAME(self) -> str:
    if self.legacy_no_args:
        # hook name only
        return f'"{self.legacy_hook}"'
    else:
        return ", ".join([f'"{self.legacy_hook}"'] + self.arg_names(self.args))