Class AnnotationParserImpl
- java.lang.Object
-
- org.duracloud.account.db.util.security.impl.AnnotationParserImpl
-
- All Implemented Interfaces:
AnnotationParser
public class AnnotationParserImpl extends Object implements AnnotationParser
This class provides a utility for searching 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.- Author:
- Andrew Woods Date: 4/8/11
-
-
Constructor Summary
Constructors Constructor Description AnnotationParserImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public Map<String,Object[]> getMethodAnnotationsForClass(Class annotationClass, Class targetClass)
Description copied from interface:AnnotationParserThis 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.- Specified by:
getMethodAnnotationsForClassin interfaceAnnotationParser- Parameters:
annotationClass- soughttargetClass- over which annotation should be found- Returns:
- map of method names and annotation arguments
-
-