public Object get ( Class cls , String attr ) { HashMap map ; // See if the class exists in the cache. if ( ! values . containsKey ( cls ) ) { // Class not in cache so return null. return null ; } // Get the cache of field values for the class. map = ( HashMap ) values . get ( cls ) ; // Extract the specified field from the cache. return map . get ( attr ) ; }
Gets the value of the named field of the specified class .