Get the value of the field name of the Java object obj.
For static fields, obj can be a string representing the fully qualified name of the corresponding class.
When obj is a regular Java object, structure-like indexing can be used as a shortcut syntax. For instance, the following two statements are equivalent
java_get (x, "field1") x.field1
See also: java_set, javaMethod, javaObject.
Package: octave