S
shahbazc
I would like to attempt a 'code comprehension' utility that clearly
(graphically) displays a set of java classes and their relationships to
each other (inheritence, association, etc.) There are plenty of graph
libraries out there, but what is a good way of extracting relationships
themselves? I supposed I could use reflection for compiled
classes...but it seems various UML packages use a different method.
What if I have just source code (which is the point of this utility)?
How do eclipse, argouml, netbeans, etc. extract not just relationships
but also other information such as fields, methods, etc. ... not just
from compiled classes, but also from source code?
I would like to do a quick prototype...that's why the idea of using
programs like javacc and antlr scare me. I would also like to avoid
limiting my utility to a specific framework (eclipse for example).
There must be libraries out there which extract this information...no?
Any way, thanks.
-falcon
(graphically) displays a set of java classes and their relationships to
each other (inheritence, association, etc.) There are plenty of graph
libraries out there, but what is a good way of extracting relationships
themselves? I supposed I could use reflection for compiled
classes...but it seems various UML packages use a different method.
What if I have just source code (which is the point of this utility)?
How do eclipse, argouml, netbeans, etc. extract not just relationships
but also other information such as fields, methods, etc. ... not just
from compiled classes, but also from source code?
I would like to do a quick prototype...that's why the idea of using
programs like javacc and antlr scare me. I would also like to avoid
limiting my utility to a specific framework (eclipse for example).
There must be libraries out there which extract this information...no?
Any way, thanks.
-falcon