javaLibraryStaticField

fun javaLibraryStaticField(    receiverClass: Class<*>,     fieldName: String,     fieldClass: Class<*>): CheckedField

Create a CheckedField for accessing a static field that has not been annotated with ReferencedInGeneratedCode, failing if there is a problem.

Return

The CheckedField.

Parameters

receiverClass

The type defining the static field.

fieldName

The name of the static field.

fieldClass

The type of the field.