|Modifier and Type||Method and Description|
Determines the stereotype names attached to a model element.
The concept of stereotype name is neutral here: UML metamodel implementation will consider the stereotype feature, but a metamodel
implementation may map this concept to any arbitrary feature, as long as the feature can be represented with a
The implementation should be fast and lightweight, as this method will be called a lot of time (each time a method or a script is called on a model element).
If no stereotype is attached to the model element, then it is recommended to return
null instead of an empty array, for
performance consideration (avoids to create unused empty arrays).
object- the model element we want to determine the stereotypes.
nullif no stereotype is attached to the model element.