When using operations from external libraries and calling these operations from your model (for example in activities or state machines), sometimes a parameter (called me) will be introduced to these calls.

Where does this parameter come from, and how can I suppress the generation of this parameter?

This parameter is introduced to enable functions to access the data in the class, and is introduced if all of the following conditions apply:

  • The operation is not marked as static
  • The operation is not owned by a static class or interface
  • The operation is not owned by a class marked as singleton

In order to suppress the generation of this parameter, it means that you can mark the external library which owns the operations as static by applying the static stereotype, which is basically saying "this library only contains methods which do not need access to a class structure":

See also

How can I prevent Embedded Engineer from changing the name of my Activity?

  • No labels