|
From: Andrea A. <and...@al...> - 2006-06-05 19:47:49
|
Bryce L Nordgren ha scritto: > ... > > Is there a way to supply it with a UML diagram, or some sort of UML > connectivity information (e.g., which dependencies are associations, which > are attributes, and which are just dependencies?) Hum, forgot to answer that one. There are two kinds of associations: * the ones that are implemented by some strange data structures. These I cannot reverse engineer * the ones that are implemented as fields or a List<ClassXXX>. These I can reverse engineer, and I represent them as directed associations (since there's no way to tell for sure an association is bi-directional) * pure attributes in my opinion are just primitive ones. The others are associations. Everything that is used as an argument in methods is a dependency instead, and also everything that is imported but not used as a field. Cheers Andrea |