Interface AnnotationParser

  • All Known Implementing Classes:
    AnnotationParserImpl

    public interface AnnotationParser
    Author:
    Andrew Woods Date: 4/8/11
    • 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 - sought
        targetClass - over which annotation should be found
        Returns:
        map of method names and annotation arguments