[aspectwerkz-user] Testing that a pointcut expression is contained within a set of classes/jar

"D'Arcy, Hamlet B" <[email protected]> Thu, 18 Dec 2008 12:29:49 -0600
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <79F7A365EB1F6B4BB1117651A3888CBAD32040@BGTMNSRVE3MX01.NCSP.PEROOT.COM>
I want to write a JUnit test that verifies that my pointcuts are valid
within my project. My pointcuts are stored in an XML file, and sometimes
refactorings break the expression. Thus, I want to assert that a certain
pointcut stored in XML has at least one matching target within my
project.=20

For instance, my pointcut is:=20
  * com.sample.MyObject.*(..)

And my jar is: MyProject.jar

Is there a way to analyze MyProject.jar for matching
classes/methods/fields?=20
Is there a way to analyze everything on the classpath for matching
classes/methods/fields?=20

Thanks,=20

--
Hamlet D'Arcy
[email protected]
+1(952)681-3636 =20


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

    http://xircles.codehaus.org/manage_email