set Static Object Until Superclass
fun setStaticObjectUntilSuperclass(clazz: Class<*>, fieldName: String, value: Any?, untilSuperClass: Class<*>.() -> Boolean? = null)
Set the static object
Parameters
clazz
class
field Name
field name
value
field value
until Super Class
until super class(true = break, false = continue), or null if find in all superclasses
Throws
if the field is not found