[jboss-jira] [JBoss JIRA] Created: (JBREFLECT-53) Replace Arrays with varargs on all getDeclaredXXXMethods
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Wed Jun 10 20:00:56 EDT 2009
Replace Arrays with varargs on all getDeclaredXXXMethods
--------------------------------------------------------
Key: JBREFLECT-53
URL: https://jira.jboss.org/jira/browse/JBREFLECT-53
Project: JBoss Reflection
Issue Type: Task
Components: ClassInfo
Affects Versions: JBossReflection.2.0.2.GA
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Fix For: JBossReflection.2.2.0-Beta1
Similar to what was done on java.lang.Class<?>.getDeclaredMethods(....) and java.lang.Class<?>.getDeclaredConstructors(), we should replace type parameter arrays with varargs on everywhere that is appliable.
This maintains the backwards compatibility with old version, as callers can still use the array, but adds simplicity for new users, that get rid of having to create a type array everytime they need to invoke those methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list