On Nov 18, 2008, at 2:35 PM, Alexandre Bergel wrote:
Dear Radu and members of the Moose-List,
I am not sure whether my question is specific to moose or iPlasma, but
I think that it is of a general interest. Are dependencies between
Java classes extracted using iPlasma from the .java files? To
illustrate this, let's assume I have these two classes:
public class A {}
public class C { A a;}
You could also have
A new
which should be a reference.
The relation "C refers to A" does not seem
to be contained in the .mse
file. The attribute 'a' is defined as:
(FAMIX.Attribute
(id: 17)
(name 'a')
(belongsTo (idref: 15))
(hasClassScope false)
(accessControlQualifier package)
(NMAV 0.0)
)
No ref to 'A' therefore.
In Java4Moose, I extended the FAMIXClass with dependentClasses, that
returns a list of FAMIXClass that are statically referenced in the
receiver famix class. I principally did this as an exercise, but it
seems that this information is missing in famix. Doru, you told me at
the famoosr workshop that iPlasma extract static dependency. Where
does this appear?
Regards,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev