java:field
(java:field class-or-object "fieldName")
Reads a field by reflection: with a class-name string it reads a static field
(such as a constant), and with a java object it reads that instance's field.
Returns the marshalled value. Part of the JVM-only java interop
package — available on the interpreter and in JVM-compiled classes, not on the
WASM backend. See the Java interop
guide.
The static constant Integer.MAX_VALUE is read and marshalled to a rontolisp
integer.