getStaticObjectOrNull

fun getStaticObjectOrNull(clazz: Class<*>, fieldName: String): Any?

Get the static object

Return

field object or null

Parameters

clazz

class

fieldName

field name

Throws

if the field is not found