public static Field locateStaticFieldObjectOnClass(String fieldName, Class<?> containingClass) {
		Field field = null;

		try {
			field = containingClass.getDeclaredField(fieldName);
		}
		catch (NoSuchFieldException nsfe) {
			// O.K., the field may be located on a parent class.  So, we
			// will call this method on the parent class
			Class<?> parentClass = containingClass.getSuperclass();

			if (parentClass != null) {
				field = locateFieldObjectOnClass(fieldName, parentClass);
			}
		}

		return field;
	}
Locates the field of the name <code>fieldName</code> on the given
class.  If the given class does not contain the field, then this
method will recursively call up <code>containingClass</code>'s
implementation tree looking for a parent implementation of the
requested field.

@param fieldName The name of the field to locate.
@param containingClass The class that contains the desired field.
@return The Field object that matches the given name, or null if not
        suitable field could be found.
Ghidra/Framework/Utility/src/main/java/utilities/util/reflection/ReflectionUtilities.java