Although maybe not overtly obvious, the `Abstract Methods` tab in the method summary table gives you what you are looking for, and is close to your option #3.

-- Jon

On 1/2/22 3:48 PM, Nir Lisker wrote:
Hi,

Many @FunctionalInterface interfaces declare explicitly what their functional method is, For example, the java.util.function interfaces. I was wondering if the docs pointing out which is the functional method automatically would be of any use.

If so, the question becomes what is the best way. Some ideas:
1. An auto-generated comment on the bottom of the interface doc like Consumer<T> does? 2. Putting it next to theĀ @FunctionalInterface in the declaration on top (though it might be confusing).
3. Some highlight to the method in the method summary table.

Happy new year,
Nir

Reply via email to