+1
On Dec 29, 2015, at 5:24 AM, Sundararajan Athijegannathan
<sundararajan.athijegannat...@oracle.com> wrote:
>
> Please review http://cr.openjdk.java.net/~sundar/8146251/ for
> https://bugs.openjdk.java.net/browse/JDK-8146251
>
> Instead of annotation like:
>
> @Function(attributes = Attribute.NOT_ENUMERABLE, where = Where.CONSTRUCTOR,
> documentation = "returns the prototype of the specified object")
>
> to specify documentation, a properties file is used and the documentation
> property key is automatically derived (Object.prototype.hasOwnProperty,
> Object.keys etc.) This allow adding documentation (+ localizing it) by just
> editing a properties file.
>
> Thanks,
> -Sundar