garydgregory commented on pull request #736: URL: https://github.com/apache/commons-lang/pull/736#issuecomment-971695585
> > @arturobernalg > > I am curious: Can this be used within Commons Lang itself? > > Hi @garydgregory We have a complete class dedicated to manipulate and access to the method of a class through reflections, so, IMO why not. Not, because (1) It's not useable within Commons Lang itself, because current callers of getAccessibleConstructor(*) test and use the result of the call. So using this new API internally would cause getAccessibleConstructor() to be called more than once instead of once. And (2) because "why not" is not a use-case, so YAGNI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
