문제

I wasn't able to find this info in the official specs. Do they not prescribe a difference between a static method call and any other kind of message? In other words, simply put an arrow when the call occurs just like any other message? In that case there is no instantiated class participant available to point to, unless it is legal to just put the static classname without the ":" in front of it.

도움이 되었습니까?

해결책

You can represent static call by targeting class rather than object in the sequence diagram (both classes and objects can coexist in sequence diagram).

다른 팁

your question was already discussed on stackoverflow: How to present static class or function call in Sequence Diagram?

So you might want to use a stereotype as indicated there. Hope it helps!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top