def METHOD_NAME(self, target: Class, names: List[str]) -> str:
    if (
        self.config.force_default_name
        or len(names) > 3
        or len(names) != len(set(names))
    ):
        name = self.config.default_name
    else:
        name = "_Or_".join(names)
    reserved = self.build_reserved_names(target, names)
    return ClassUtils.unique_name(name, reserved)