Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B6BA9200C42 for ; Sat, 25 Mar 2017 22:26:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B55E2160B96; Sat, 25 Mar 2017 21:26:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0821D160B6F for ; Sat, 25 Mar 2017 22:26:45 +0100 (CET) Received: (qmail 63008 invoked by uid 500); 25 Mar 2017 21:26:45 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 62995 invoked by uid 99); 25 Mar 2017 21:26:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2017 21:26:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A90E2C109B for ; Sat, 25 Mar 2017 21:26:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 18LJfIVI-2M2 for ; Sat, 25 Mar 2017 21:26:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4AFA15FAD1 for ; Sat, 25 Mar 2017 21:26:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EAB17E05BE for ; Sat, 25 Mar 2017 21:26:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8EB4924062 for ; Sat, 25 Mar 2017 21:26:41 +0000 (UTC) Date: Sat, 25 Mar 2017 21:26:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1317) Add findAnnotation and findMethodsWithAnnotation to MethodUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Mar 2017 21:26:46 -0000 [ https://issues.apache.org/jira/browse/LANG-1317?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15941= 979#comment-15941979 ]=20 ASF GitHub Bot commented on LANG-1317: -------------------------------------- GitHub user yasserzamani opened a pull request: https://github.com/apache/commons-lang/pull/261 LANG-1317: Add findAnnotation and findMethodsWithAnnotation In order to fix [WW-4744](https://issues.apache.org/jira/browse/WW-4744= ) , =20 findAnnotation will be an extension for Method.getAnnotation that also = searches interfaces and super classes. =20 findMethodsWithAnnotation will be an extension for getMethodsWithAnnota= tion that also supports non public methods, super class and interface metho= ds. =20 NOTES: To keep changes simple, currently no cache provided. Let's do that when= needed =F0=9F=98=83=20 You can merge this pull request into a Git repository by running: $ git pull https://github.com/yasserzamani/commons-lang LANG-1317 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-lang/pull/261.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #261 =20 ---- commit 74241a7cd79f2dda723f07948c7925f9b6511989 Author: Yasser Zamani Date: 2017-03-25T21:19:46Z LANG-1317: Add findAnnotation and findMethodsWithAnnotation to MethodUt= ils ---- > Add findAnnotation and findMethodsWithAnnotation to MethodUtils > --------------------------------------------------------------- > > 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 t= o MethodUtils: findAnnotation and findMethodsWithAnnotation. > findAnnotation will be an extension for Method.getAnnotation that also se= arches interfaces and super classes while caching results with no memory le= ak. > findMethodsWithAnnotation will be an extension for getMethodsWithAnnotati= on 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 wo= rking on it :)=20 -- This message was sent by Atlassian JIRA (v6.3.15#6346)