I am writing a Java to MSE exporter called VerveineJ.
(I was supposed to announce it at some point but I keep waiting for a
reasonably stable version)
But let's go to the point.
For Java packages I am creating FAMIX Namespaces
Now I discovered the notion of childScopes and two questions arose:
- should VerveineJ create a "childScope link" between two java
Packages (i.e. FAMIX Namespace) that are included one in the other
(e.g.: "org.eclipse.help" and "org.eclipse.help.internal" and
"org.eclipse.help.internal.browser")
- if the answer is yes to the 1st question, then should VerveineJ
create new FAMIX Namespaces at the "intersection" of two other
namespaces. For example, for "org.eclipse.core.internal.plugins" and
"org.eclipse.core.runtime", one could create "org.eclipse.core" as a
parent scope of both...
Eclipse, which is my reference here, does not consider hierarchy of
packages. Even if, on the disk, one package is implemented as a
subdirectory of another one, in the Package Explorer, they are listed
as two separate ones.
Any opinion?
nicolas
--
Nicolas Anquetil Univ. Lille1 / INRIA-equipe RMod