Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1317

Add MethodUtils#findAnnotation and extend MethodUtils#getMethodsWithAnnotation for non-public, super-class and interface methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6
    • lang.reflect.*
    • Patch

    Description

      In order to fix WW-4744 , mainly, I am going to add two functionalities to MethodUtils: findAnnotation and findMethodsWithAnnotation.

      findAnnotation will be an extension for Method.getAnnotation that also searches interfaces and super classes while caching results with no memory leak.

      findMethodsWithAnnotation will be an extension for getMethodsWithAnnotation that also supports non public methods, super class and interface methods, again, while caching results as above.

      Generally, do you agree with these in a pull request? If so, I will be working on it

      Attachments

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              yasserzamani Yasser Zamani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: