findFieldIgnoreCase

@Nullable
open fun findFieldIgnoreCase(clazz: Class<out Any>, name: String): @Nullable Field

Attempt to find a field on the supplied Class with the supplied name. Searches all superclasses up to Object.

Return

the corresponding Field object, or null if not found

Since

6.1

Parameters

clazz

the class to introspect

name

the name of the field (with upper/lower case to be ignored)