Generation of synthesized parameters
Alex Buckley
alex.buckley at oracle.com
Fri Feb 1 16:43:27 PST 2013
On 2/1/2013 4:22 PM, Peter Jensen wrote:
> 8.9.2 Enum Body Declarations
>
> The text says an enum "has the following implicitly declared static
> methods:"
>
> Anything in the following declarations, that a compiler is normally
> expected to handle, must
> thus be handled as if explicitly included in the source. This now
> include parameter names,
> and the javadoc comments, for that matter (need to check if javadoc does
> this)
Joe indicated on 1/29 that the valueOf method is implicitly declared,
but its 'name' parameter is not. However, I think it would be much
clearer if parameters of an executable followed the executable's
explicit/implicit declaration status. I will action this in the
enhanced-metadata spec.
Alex
More information about the compiler-dev
mailing list