Interface AnnotationParser
-
- All Known Implementing Classes:
AnnotationParserImpl
public interface AnnotationParser- Author:
- Andrew Woods Date: 4/8/11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object[]>getMethodAnnotationsForClass(Class annotationClass, Class targetClass)This method searches through a class and its hierarchy for a given annotation.
-
-
-
Method Detail
-
getMethodAnnotationsForClass
Map<String,Object[]> getMethodAnnotationsForClass(Class annotationClass, Class targetClass)
This method searches through a class and its hierarchy for a given annotation. Once the methods with the given annotation are found, a mapping of the method names and annotation argument values is returned.- Parameters:
annotationClass- soughttargetClass- over which annotation should be found- Returns:
- map of method names and annotation arguments
-
-