# Module Java

Inheritance graph

Inherit "___Java"

  inherit "___Java" : "___Java"

Variable pkg

  `object Java.pkg`

Description

  Singleton 'package' object.

  Usage: object cls = Java.pkg.java.lang.String;

  or: object cls = Java.pkg["java/lang/String"];

  cls is a jclass object; call it to create a jobject, which will have all the methods of the Java class.

  Example: Java.pkg.FooClass()->getResult();