[module elseTypeInference('http://www.eclipse.org/emf/2002/Ecore')/]

[template public myTemplate(myParam : ecore::EClassifier)]
  [if (not myParam.oclIsKindOf(ecore::EClass))]
    some static text.
  [else]
    [myParam.eSuperTypes/]
  [/if]
[/template]