readStaticField

fun readStaticField(fieldName: String): HeapField?

Returns a HeapField object that reflects the specified declared field of the class represented by this HeapClass object, or null if this field does not exist. The name parameter specifies the simple name of the desired field.

Also available as a convenience operator: get

This may trigger IO reads.