def METHOD_NAME(self, o: ClassDef) -> None:
    old_meta = self.meta
    self.meta = copy.copy(old_meta)
    if self.meta is not None and o.name in self.definitions.keys():
        self.meta.containing_class = self.definitions[o.name].type.node_id
    else:
        self.meta = None
    self.depth += 1
    super().METHOD_NAME(o)
    self.depth -= 1
    self.meta = old_meta