@CheckForNull
    private static Field locatePublicField(Class<?> clazz, @NonNull String fieldName) {
        return ExtraFieldUtils.getField(clazz, fieldName, false);
    }
Abstracts away how to retrieve attribute value from a 'target' Jenkins object.
plugin/src/main/java/io/jenkins/plugins/casc/Attribute.java