-
Feb 6th, 2009, 03:32 AM
#1
Scanning for annotated methods
Our method-level custom annotation is @TestId ("1234").
I can use org.springframework.core.type.classreading.Metadat aReader to retrieve all the classes where the annotation is used. But I can't seem to get at the individual methods or at the annotation value (1234). I can only do so by loading the class (ClassUtils.forName()). This must be wrong - surely it is possible to load the method annotation data without loading the class ?
Thanks
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules