private Stereotype getAppliedEcoreStereotype(Element element, String name) { return element.getAppliedStereotype("Ecore" //$NON-NLS-1$ + NamedElement.SEPARATOR + name); }
Stereotype foundStereotype = element.getAppliedStereotype(name); if (foundStereotype == null)
Stereotype foundStereotype = element.getAppliedStereotype(name); if (foundStereotype == null)
protected Stereotype getAppliedEcoreStereotype(Element element, String name) { return element.getAppliedStereotype("Ecore" //$NON-NLS-1$ + NamedElement.SEPARATOR + name); }
public static Object getTaggedValue(Element element, String qualifiedStereotypeName, String propertyName) { Stereotype stereotype = element .getAppliedStereotype(qualifiedStereotypeName); return stereotype == null ? null : element.getValue(stereotype, propertyName); }