def METHOD_NAME(cls, t, re=re.compile(r'^Jakt::.*?([^:]*)_Details::(\w+)$')):
    match = re.match(t.name)
    if match:
        klass = match.group(1)
        variant = match.group(2)
        return f'{klass}::{variant}'
    return handler_class_for_type(t).prettyprint_type(t)