[Cap4e-help] Full qualified class name create no efferent coupeling
Brought to you by:
shake234
|
From: SE/AE/Kunz M. <ae...@vf...> - 2005-07-25 13:41:57
|
Hi All
we have tried your eclipse plugin CAP.
It works very nice, but there are one problem:
When I create a local variable and declare it with the full qualified =
class name,
it is not displayed in the efferent coupling view.
Thanks for your help.
Regards,
Mathias
Code-Sample:=20
package package_a;
// This does not create a dependency.
import package_b.*;
public class TestClass
{
////////////////////////////////////////////////
// Instance creation for local variable=20
////////////////////////////////////////////////
public TestClass()
{
// This does not create a dependency, when the import contains a =
wildcard.
EfferentCoupeling efferentCoupeling_b =3D new EfferentCoupling();
// Local variable with full qualified class name
// This does not create a dependency.
package_c.EfferentCoupeling efferentCoupling_c =3D new =
package_c.EfferentCoupling();
}
}
package package_b;
public class EfferentCoupling {
public String getName() {
return "EfferentCoupling";
}
=09
public static String getClassName() {
return "EfferentCoupling";
}
}
package package_c;
public class EfferentCoupling {
public String getName() {
return "EfferentCoupling";
}
=09
public static String getClassName() {
return "EfferentCoupling";
}
}
|