Say I have the following interface and class
This has a association dependency on SomeObject like so
Does the interface, IDoSomething, have a dependency on SomeClass? Should I show this in UML?
Clearly the interface does have a dependency but this looks like noise to me:
I was thinking that you could infer the interfaces dependency from DoSomethingImpl's dependencies, but this wouldn't work if it implemented multiple interfaces.
If the interface implemented another interface then I would expect that dependancy to be shown, but I'm worried about my UML becoming unnecessarily complex.
What would be a suitable thing to do?