A
A
AR1ES2012-08-29 12:50:20
Java
AR1ES, 2012-08-29 12:50:20

How can I define all relationships between classes in Eclipse?

Good day to all!
There was a need to support a large third-party project. The project has just a terrible structure. And now there is a problem with the definition of the relationship of several classes.
Accordingly, all the necessary information in Eclipse is in the call hierarchy (Call Hierarchy), but the project is too large and it is inconvenient to work with it. Therefore, the question arises, is it possible to display not all branches in the call hierarchy, but only those that are associated with the required class?
Although it would be even better to immediately find all the methods and fields of class A that class B calls (i.e. connections are needed only in one direction), all branches should be taken into account, incl. and through other classes rather than calling directly.
Maybe there are some third-party utilities or plugins?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vacxe, 2012-08-31
@Vacxe

If I understand the problem correctly, I can advise the approach that I use to build the "Class Model" through UML. We use the Enterprise Architect UML editor. We create a class model in it, then import project files into it (supports popular programming languages). Next, we deal with the model.
By the way, EA establishes synchronization with the code, so that you can design code through the model.
I hope I helped you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question