Test and Visualize and Manage Dependencies of classes and packages in JVM Byte Code (think Scala and Java)
Degraph
I want to generate relationship graph among model classes using degraph.
Here is a representative example model, a POJO TaskEntryImpl that relates to Task:
package com.packag.tm.model.pojo;
public class TaskEntryImpl implements TaskEntry,Serializable {
private Integer id;
private Task task;
public Task getTask() {
return this.task;
}
public void setTask(Task v) {
this.task = v;
}
Packages containing models have model.pojo
as part of the package name:
com.somepackage.events.model.pojo.DurationImpl
au.com.anotherpackage.ecrm.model.pojo.PayphoneImpl
How do I get a graph of models that meet the abovementioned characteristics?
For the curious: I wish I could have an Entity-Relation diagram instead.
These model classes are wired by Hibernate ORM. The original developers maintained SQL independent of the codebase and have never used foreign keys. So this rules out getting an entity-relation diagram from the database schema.
Source: (StackOverflow)