-
1. Re: Getting JBoss Classes and Methods information
jesper.pedersen Feb 2, 2010 10:03 AM (in response to mavu)Right now you can use the "Black listed" report to define which API usage that should be flagged.
But it sounds like you are looking for an "Usage" report, which shows dependencies between classes in greater detail. Maybe the "Graphical Dependencies" report for packages is the one that is the closest today.
If none of the reports today is what you are looking for I would create a new report that includes the information you need. Class level dependencies are recorded today -- method level dependencies is a new feature.
The developer guide will get you started with the environment and you should look at the
src/main/java/org/jboss/tattletale/reporting/GraphvizReport.java
report as an example.
The core of Tattletale is located in
org.jboss.tattletale.core
where especially the
Archive.getClassDepedencies()
method will give you the dependencies for each class in the archive.
I would start out with that - and once you have looked it over, feel free to post follow-up questions.