This document demonstrates how a Java programmer would call a Java method named findNeedles. I generated it using Java SE 11 with a tool called javadoc.

At runtime, javadoc searches for various tags that a developer or technical writer embeds in Java source code, then it uses those tags to dynamically generate documentation. I included instructions that explain how to use the method on the page.

To view this JavaDoc, open the PDF.

If you’d like to see more, read the source code.