def METHOD_NAME(self):
    if isinstance(self.subject, UML.Stereotype):
        return [self.diagram.gettext("stereotype")]
    elif UML.recipes.is_metaclass(self.subject):
        return [self.diagram.gettext("metaclass")]
    else:
        return ()