Yes: use the verbose option in the Macker Ant task:
<macker verbose="true" ...>
Macker will dump the usage graph, e.g.:
Macker (verbose mode enabled)
9 primary classes
32 total classes
73 references
Classes used by net.innig.macker.example.conventions.AlphaTree:
java.lang.String
java.util.Set
java.util.TreeSet
net.innig.macker.example.conventions.AlphaTree
net.innig.macker.example.conventions.StringTree
VOID
It will then dump the parsed tree for each pattern, and show the
matching classes:
matching (include net.innig.macker.rule.filter.PrimaryFilter
$1@... + (include net.innig.macker.rule.filter.InterfaceFilter
$1@... + net.innig.macker.rule.filter.AccessFilter$1@...))
net.innig.macker.example.conventions.BrokenApi
net.innig.macker.example.conventions.Tree
It's a lot of junk to wade through, but it may be of use. I suggest
piping ant to a file when you do this.
Cheers,
Paul
On Sep 21, 2005, at 10:25 PM, Daniel Spangler wrote:
> Is there a flag or debugging level that can be turned on that will
> print out the classes/interfaces that match a given pattern?
>
> Daniel
|