Re: [External] : Re: Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-07-01 Thread Daniel Fuchs
Hi Sergey, On 01/07/2022 10:22, Сергей Цыпанов wrote: And what about JavaDoc of Parameter.isNamePresent()? Should we keep it as is, I mean pointing out to 'MethodParameters' attribute of a class file? AFAIU that's accurate, but it would probably deserve at least a link to the JLS? best

Re: Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-07-01 Thread Сергей Цыпанов
Hi Daniel, thanks, this is what I was looking for! And what about JavaDoc of Parameter.isNamePresent()? Should we keep it as is, I mean pointing out to 'MethodParameters' attribute of a class file? Regards, Sergey > Hi Sergey, > > I believe you need to compile with `-parameters` > >

Re: Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-07-01 Thread Сергей Цыпанов
Thanks! > If you want more information about parameters, use javac with its > "-parameters" option. > > -Joe > > On 6/28/2022 11:54 PM, Сергей Цыпанов wrote: > >> This question was asked originally here: >>

Re: Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-06-29 Thread Joseph D. Darcy
If you want more information about parameters, use javac with its "-parameters" option. -Joe On 6/28/2022 11:54 PM, Сергей Цыпанов wrote: This question was asked originally here:

Re: Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-06-29 Thread Daniel Fuchs
Hi Sergey, I believe you need to compile with `-parameters` https://docs.oracle.com/en/java/javase/18/docs/specs/man/javac.html best regards, -- daniel On 29/06/2022 07:54, Сергей Цыпанов wrote: This question was asked originally here:

Executable.hasRealParameterData() and Parameter.isNamePresent() don't work as expected

2022-06-29 Thread Сергей Цыпанов
This question was asked originally here: https://stackoverflow.com/questions/72787286/executable-hasrealparameterdata-and-parameter-isnamepresent-dont-work-as-ex but as soon as I got no answer I've decided to try it here adding some concerns regarding JavaDoc of Parameter.isNamePresent() With