Package Dependency

前端 未结 5 665
不知归路
不知归路 2021-01-02 10:10

I have a huge Java Application with numerous packages. Some of the classes in these packages have dependency on classes in other packages. Given a class, I want to know all

相关标签:
5条回答
  • 2021-01-02 10:20

    Another option is Degraph: https://github.com/schauder/degraph (I'm the author, so this is obviously a shameless plug)

    0 讨论(0)
  • 2021-01-02 10:28

    You can test JavaDepend, it provides many useful features for dependency needs.

    0 讨论(0)
  • 2021-01-02 10:38

    I would also recommend Eclipse as there are various plugins for this task. For example ispace which can create a graphical representation of the package dependencies.

    I general the Source code analyzer section of eclipse's market place has more plugins in that direction.

    0 讨论(0)
  • 2021-01-02 10:39

    There's some useful tools described here for the (free) Eclipse IDE. There's also more info on dependency tools with a comparison against depfinder here.

    0 讨论(0)
  • 2021-01-02 10:45

    CDA - Class Dependency Analyzer is incredibly simple to use, and can help you visualize those dependencies between packages and classes.

    CDA Screenshot

    0 讨论(0)
提交回复
热议问题