commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-416) Import MethodUtils and ConstructorUtils from BeanUtils
Date Fri, 07 Mar 2008 22:13:46 GMT

     [ https://issues.apache.org/jira/browse/LANG-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Benson updated LANG-416:
-----------------------------

    Description: 
Mentioned on the mailing list...  After we release 2.4 I'd like to:

- import ConstructorUtils
- make CU.getMatchingAccessibleConstructor() public

- import MethodUtils

- factor best-match calculation code out of MethodUtils into abstract superclass MemberUtils,
make ConstructorUtils extend MemberUtils and use the same code (be on the lookout for ways
to improve best-match calcs; my original description was based on javadoc that said the first
matching method encountered was used, but this comment seems to have been outdated). 

- merge any other duplicate (or near-duplicate) code from CU/MethodU into MemberU and remove
anything else that doesn't make sense in the context of Lang.


  was:
Mentioned on the mailing list...  After we release 2.4 I'd like to:

- import ConstructorUtils
- make CU.getMatchingAccessibleConstructor() public

- import MethodUtils

- create abstract class MemberUtils with some protected static code for finding the _best_
match for a parameter type list (i.e. the one a compiler would choose at compile time).  I
will be able to contribute this code via SG.
- make parameter matching code in CU and MethodU use the aforementioned code

- merge any other duplicate (or near-duplicate) code from CU/MethodU into MemberU and remove
anything else that doesn't make sense in the context of Lang.



> Import MethodUtils and ConstructorUtils from BeanUtils
> ------------------------------------------------------
>
>                 Key: LANG-416
>                 URL: https://issues.apache.org/jira/browse/LANG-416
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: 2.4
>            Reporter: Matt Benson
>             Fix For: 3.0
>
>
> Mentioned on the mailing list...  After we release 2.4 I'd like to:
> - import ConstructorUtils
> - make CU.getMatchingAccessibleConstructor() public
> - import MethodUtils
> - factor best-match calculation code out of MethodUtils into abstract superclass MemberUtils,
make ConstructorUtils extend MemberUtils and use the same code (be on the lookout for ways
to improve best-match calcs; my original description was based on javadoc that said the first
matching method encountered was used, but this comment seems to have been outdated). 
> - merge any other duplicate (or near-duplicate) code from CU/MethodU into MemberU and
remove anything else that doesn't make sense in the context of Lang.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message