def METHOD_NAME(self, translated: str, METHOD_NAME: str):
    # replace invalid characters in automatically generated names
    valid_name = self._gen_valid_name(METHOD_NAME)
    if translated == valid_name:
        return translated
    return f"{translated} AS {valid_name}"