1. A method of generating a Unified Modeling Language (UML) activity diagram of a UML task object, the method comprising: selecting a first node from a UML class diagram of the UML task object; determining whether there exists a second node of a task interaction pattern of the UML task object that matches the first node; and generating the UML activity diagram of the UML task object, the UML activity diagram including the first node, in response to determining that the second node exists.