res = QVTEditorUtilities.stringOfTypedElement((Variable) modelObj, type);
if ((Variable) modelObj instanceof VarParameter)
res = ((VarParameter)modelObj).getKind().getLiteral() + " " + res;
}
if (modelObj instanceof OperationCallExp) {
OperationCallExp ope = (OperationCallExp) modelObj;
if ((ope.getReferredOperation() != null)
&& ("T".equals(ope.getReferredOperation().getType()
.getName()))) {
type = ope.getSource().getType();
if (type instanceof CollectionType) {
Type elemType = ((CollectionType) type).getElementType();
if (elemType != null)
type = elemType;
}
}
modelObj = ope.getReferredOperation();
}
if (modelObj instanceof Operation) {
Operation op = (Operation) modelObj;
res = op.getClass().getSimpleName() + "<br>";