if (result == null) result = caseElement(type);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OntoUMLPackage.TYPED_ELEMENT: {
TypedElement typedElement = (TypedElement)theEObject;
T result = caseTypedElement(typedElement);
if (result == null) result = caseNamedElement(typedElement);
if (result == null) result = caseElement(typedElement);
if (result == null) result = defaultCase(theEObject);
return result;