Thank you for the suggestion.
Though I could find method-related examples only for the "Doc" class,
it is a big piece of work, that cannot be replicated in short time.
We could try to keep that into consideration.

Referring to full code snippets from inside a javadoc may not be easy.
A simple cross-reference can be found in the examples introduction page.