Hello,
according to my knowledge Dependency-relationships of classes (i.e. class A
has a dependency to class B) are used in the following cases:
- There is a global Variable of Class B which is used from objects of Class
A (C++ not JAVA)
- There is an object of class B locally declared in a methode of Class A
- There is a parameter of class B in a methode of class A.
I made a simple example (see below) to test ifRose is capable to reverse
engineer such relationships. But Rose wasn't able to do it. What is the
reason for this? I would have expected that Rose is capable of doing that.
package testDependency;
public class A
{
void test(B b)
{
C c = new C();
}
}
class B
{
}
class C
{
}
> Mit freundlichen Grüßen / Best regards
> Oliver Schönhaar
> _____________________________________
> Robert Bosch GmbH, QI/CCT22
> 70469 Stuttgart-Feuerbach - Wiener Str. 42 - Fe 055/3
> Tel.: ++49 711 811 - 31280 (BCN 9020 - 31280)
> Fax: ++49 711 811 - 263740 (BCN 9020 - 263740)
> mailto:[EMAIL PROTECTED]
> New: Visit us at: http://www.intranet.bosch.de/qi/asn
>
>
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
(ROSE) Dependencies and Revers Engineering with Rose
Schoenhaar Oliver (QI/CCT22) * Thu, 08 Mar 2001 23:42:19 -0800
- Re: (ROSE) Dependencies and Revers Engineer... Schoenhaar Oliver (QI/CCT22) *
- Re: (ROSE) Dependencies and Revers Eng... Andrea Scaggiante
