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 .