Parameter::getName()

Paul Benedict pbenedict at apache.org
Thu Feb 28 10:07:19 PST 2013


Okay, so the javadoc needs updating. Removing the second line would be
appropriate.

On Thu, Feb 28, 2013 at 11:50 AM, Eric McCorkle <eric.mccorkle at oracle.com>wrote:

> The parameter reflection API reports exactly what is present in a class
> file.  It is correct that there is no guarantee parameter names are
> unique for a given method (consider, for example, a class file generated
> for a non-java language that allows the same name for multiple parameters)
>
> On 02/28/13 12:41, Paul Benedict wrote:
> > The opening Javadoc sentences: "Returns the name of the parameter. The
> > names of the parameters of a single executable must all the be distinct."
> >
> > It was my understanding that parameter names are not necessarily
> distinct:
> >
> http://mail.openjdk.java.net/pipermail/enhanced-metadata-spec-discuss/2013-February/000148.html
> >
> > Paul
> >
>



More information about the enhanced-metadata-spec-discuss mailing list