Now we want to handle the parameters of the UML operations.
Parameters are linked to their owner operation through the reference ownedParameter
.
A UML Parameter has an attribute direction
.
If this direction is return
, then this parameter represents the return type of the Operation.
So we have to filter this return
parameter from regular ones.
To add parameters declaration: