Generation of synthesized parameters (original) (raw)
Alex Buckley alex.buckley at oracle.com
Fri Feb 1 16:43:27 PST 2013
- Previous message: Generation of synthesized parameters
- Next message: hg: jdk8/tl/langtools: 8007344: javac may not make tree end positions and/or doc comments available to processors and listeners
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Generation of synthesized parameters
- Next message: hg: jdk8/tl/langtools: 8007344: javac may not make tree end positions and/or doc comments available to processors and listeners
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]