def METHOD_NAME(self):
    subject = self.item.subject
    if not subject:
        return None
    stereotypes = UML.recipes.get_stereotypes(subject)
    if not stereotypes:
        return None
    model, toggle_stereotype_handler, set_slot_value_handler = stereotype_model(
        subject
    )
    builder = new_builder(
        "stereotypes-editor",
        signals={
            "show-stereotypes-changed": (self._on_show_stereotypes_change,),
            "toggle-stereotype": toggle_stereotype_handler,
            "set-slot-value": set_slot_value_handler,
        },
    )
    show_stereotypes = builder.get_object("show-stereotypes")
    if hasattr(self.item, "show_stereotypes"):
        show_stereotypes.set_active(self.item.show_stereotypes)
    else:
        show_stereotypes.unparent()
    stereotype_list = builder.get_object("stereotype-list")
    stereotype_list.set_model(model)
    return builder.get_object("stereotypes-editor")