On 26 déc. 2009, at 00:18, Alberto Bacchelli wrote:
Hi,
I still use VisualWorks 7.6nc and FAMIX2.1 to analyze Java systems in Moose. I still have to move to Pharo, sorry...
I am trying to find the connections between Java classes of a software system. Besides inheritance (which is perfectly recognized), I would also like to consider other type of relations, such as invocations. Although many invocations are correctly recognized, there is -at least- one case which I cannot extract.
For example, if you take ArgoUML 0.28 [0], that I parsed into a MSE file [1] using inFusion 7.2.7, and consider the class org.argouml.application.api.Argo [2], you can find this code:
==== ==== ====
[...]
public final class Argo {
[...]
/**
* Key for default startup directory.
*/
public static final ConfigurationKey KEY_STARTUP_DIR =
Configuration.makeKey("default", "user", "dir");
[...]
==== ==== ====
I believe that, between all the invocations done by this Argo class, there should be the invocation to the method "makeKey(String,String,String)" that belongs to the class Configuration.
Currently infusion does not import invocations made in a static block.