Class AnnotationParserImpl
java.lang.Object
org.duracloud.account.db.util.security.impl.AnnotationParserImpl
- All Implemented Interfaces:
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 -
Method Summary
-
Constructor Details
-
AnnotationParserImpl
public AnnotationParserImpl()
-
-
Method Details
-
getMethodAnnotationsForClass
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
-