be careful that, in Java, packages are
not really nested.
This is contrary to intuition and there must be a reason for it,
but that's how it is
Look how Eclipse presents packages.
Or notice that to use a.b.Class1 in a.b.c.Class2, you need to
import it.
nicolas
On 24/07/12 14:34, Dennis Schenk wrote:
Hi all,
Whats the best way to get LOC for nested FAMIXNamespaces?
Lets say I'm looking at a FAMIX model of argouml. I used the
"Infer Namespace Parents Based on Names" command in the Moose
Panel.
I have a namespace argouml (org.argouml), and a namespace
profile (org.argouml.profile).
Calling numberOfLinesOfCode on the second namespace gives me
a correct number of around 1000 (I assume because the "children"
of profile are actually FAMIXClasses). Calling it on the first
one returns 0.
So what would be the best way to get LOC on parent namespaces
like "org", or "org.argouml"?
Also is this by design that LOC does not get propagated up in
the hierarchy or is it even a bug?
Cheers,
Dennis
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev