How do I indicate static methods within a UML class diagram?

jim conallen

Simply preface the method with a dollar sign ($). For example:

$ GetInstance() : MyObject

Indicates a method called GetInstance that accepts no arguments and returns an object of type MyObject. The dollar sign identifies it as a static method.