marking a method as default in javadocs

Brian Goetz brian.goetz at oracle.com
Wed Oct 17 10:49:35 PDT 2012


Yes, there is such a plan. 

Sent from my iPhone

On Oct 17, 2012, at 4:40 AM, Deepak S Patwardhan <deepak.patwardhan at itaas.com> wrote:

> 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