Class Engine has "start(c:Component)" method. 开发者_StackOverflow中文版So do we need to draw an association between Engine and Component Class IF there is no "new Component()" inside Engine class.
NetBeans has a UML modelling tool to to reverse engineer java code. See Generating UML From the NetBeans IDE for details.
MyEclipse Professional also has a UML reverse-engineering tool.
精彩评论