Related content
Previous snippet
8_specializations_are_blocks
Any classifier that specializes a Block shall also have the Block stereotype or one of its specializations applied.
UML::Classifier.allInstances()->select(c | c.general->includes(self.base_Class)) ->forAll(c | Block.allInstances()->includes(c))