Feb 6th, 2009, 03:32 AM
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 ?