Hans Dockter wrote:
Hi,

Peter Niederwieser just pointed out an interesting new library to me:

http://code.google.com/p/reflections/

It allows for scanning classpath and doing queries like:

    * get all subtypes of some type
    * get all types annotated with some annotation
* get all types annotated with some annotation, including annotation parameters matching
    * get all methods annotated with some

This sounds like a perfect tool for checking out which classes to execute as tests (for Junit 3.8/4.x and TestNG). That would be a much nicer mechanism than using excludes/includes (of course we would still offer includes/excludes for customization).


Or for discovering the plugins and tasks included in a bundle.


Adam


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to