commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1317) Add MethodUtils#findAnnotation and extend MethodUtils#getMethodsWithAnnotation for non-public, super-class and interface methods
Date Fri, 21 Apr 2017 07:21:04 GMT

    [ https://issues.apache.org/jira/browse/LANG-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978214#comment-15978214
] 

ASF GitHub Bot commented on LANG-1317:
--------------------------------------

Github user yasserzamani commented on the issue:

    https://github.com/apache/commons-lang/pull/261
  
    @PascalSchumacher , sorry for my bad decisions. Again I thought I should keep it public
to provide same functionality for someone who needs in future :)
    
    Now, I removed it to MethodUtils as a private method. I also added @since tag and mentioned
interfaces in @return java doc.
    
    Thanks a lot!


> Add MethodUtils#findAnnotation and extend MethodUtils#getMethodsWithAnnotation for non-public,
super-class and interface methods
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-1317
>                 URL: https://issues.apache.org/jira/browse/LANG-1317
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.reflect.*
>            Reporter: Yasser Zamani
>              Labels: patch
>
> 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
:) 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message