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