How to find Java class documentation?

Let’s say I want to see what $xwiki.getClass returns and then the documentation for the xClass class in Java. So I go Developer Guide and then open API Reference and then I open one of the Javadoc links. And I get this list of many different links.

How am I supposed to find the xwiki object here, its’ class and then the xClass class and their definitions? Am I supposed to open each link separately and then manually search for xwiki object and find its’ class and the xClass?

Use the “Scripting Reference Documentation” at https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/API/ (it allows you to search for $xwiki and provides the javadoc).

1 Like