marking a method as default in javadocs

Deepak S Patwardhan deepak.patwardhan at itaas.com
Wed Oct 17 01:40:06 PDT 2012


Hi,

Looking at javadocs (as generated by the javadoc command) there is no way to
know if an interface method has a default or if an interface is a functional
interface. Is there a plan to address either concerns ?  Javadocs should
carry this information. It will be helpful, in general, and a necessity if
source isn't available. 

The output of javap also doesn't show which methods have defaults (With the
verbose flag, enough information is printed to determine which methods are
abstract and which are not) . Should the output of simply javap command show
this information ? Why or why not ?

Regards,
Deepak S Patwardhan.




More information about the lambda-dev mailing list