title: How to model method parameters in class diagrams
body: <p>I have a project where class <code>Foo</code> has a member function which takes class <code>FooParam</code> as a parameter.  Now I want to draw a <a href="https://en.wikipedia.org/wiki/Class_diagram" rel="nofollow noreferrer">UML class diagram</a> representing the relationship between class <code>Foo</code> and <code>FooParam</code>.</p>
  <p>From the options on the table, inheritance, implementation, aggregation and composition are automatically excluded. Thus, the options that are left are association and dependency, but to my eyes none of them fits quite right.</p>
  <p>Given the options, how exactly do we model method parameters in class diagrams?</p>