base/common/src/main/com/thesett/common/reflect/BeanMemento.java
public Object get(Class cls, String property) throws NoSuchFieldException
    {
        // Check that the field exists.
        if (!values.containsKey(property))
        {
            throw new NoSuchFieldException("The property, " + property + ", does not exist on the underlying class.");
        }

        // Try to find a matching property cached in this memento.
        return values.get(property);
    }
public Object get(Class cls, String property) throws NoSuchFieldException
    {
        // Check that the field exists.
        if (!values.containsKey(property))
        {
            throw new NoSuchFieldException("The property, " + property + ", does not exist on the underlying class.");
        }

        // Try to find a matching property cached in this memento.
        return values.get(property);
    }
Gets the value of the named property of the specified class.

@param  cls      The class in which the property to get is declared. This is ignored as only properties of the
top-level bean class are used by this memento. Properties higher up the inheritence chain can be
overriden.
@param  property The name of the property.

@return The object value of the property.

@throws NoSuchFieldException If the named field does not exist on the class.