How to list the methods of a Java class in Rhino
Sometimes, however, you'll still want to use them. In those cases, it's useful to know what properties and methods are available on the class.
Here's an example of how to do that using the undocumented GoogleMaps Java Class.
for (i in GoogleMaps) gs.info(i);