liquibase-core/src/main/java/liquibase/util/ObjectUtil.java
public static Class getPropertyType(Object object, String propertyName) {
        Method readMethod = getReadMethod(object, propertyName);
        if (readMethod == null) {
            return null;
        }
        return readMethod.getReturnType();
    }
public static Class getPropertyType(Object object, String propertyName) {
        Method readMethod = getReadMethod(object, propertyName);
        if (readMethod == null) {
            return null;
        }
        return readMethod.getReturnType();
    }
Tried to determine the appropriate reader method for a given propertyName of a given object and, if found,
returns the class of its return type.
@param object the object to examine
@param propertyName the property name whose reading method should be searched
@return the class name of the return type if the reading method is found, null if it is not found.