Kristian, have you tried AspectJ? It is actually quite easy to write an aspect which can do that for you. -- Alexander Kriegisch
Kristian Rosenvold schrieb am 02.04.2014 09:32: > I've been wondering if there exists a java tool that would let me graph > classloading, so that I can track stuff like "this class is being used only > through this library" and that might even be able to give me what-if > analysis of what would happen if I replaced that specific dependency with > another alternative. I am thinking about the run-time class loading here, > not really static analysis. > > I am assuming some kind of instrumentation of the linking phase of > classloading, not even sure it's possible... ? > > (I know this is slightly off-topic, but it would certainly be applicable to > making some plugins faster) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org