getStaticObjectOrNullUntilSuperclassAs

fun <T> getStaticObjectOrNullUntilSuperclassAs(fieldName: String, untilSuperClass: Class<*>.() -> Boolean? = null): T?