This is a convenient method for obtaining a list of all the methods a Java object provides.
the (partially qualified) name of a Java class, or a reference to a Java object managed by the Omegahat evaluator. The latter contains the class name of the object.
This is a simple use of
.Java and the evaluator's
getJavaMethods also adds the names to the resulting R list.
A list of Java Method objects converted to their R equivalents. The
names of the elements in the list are given by the name of the Java
method. In the case of
getJavaConstructors, no names are given
since these have no explicit name. Each element describes the
corresponding Java method in terms of the number and types of
arguments, its accessibility, in which class it was defined, and the
exceptions it may throw.
Duncan Temple Lang
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.