code: public Object getValueForKey(Object key) throws ReflectorException  {
  
  		if(object == null) {
  			logger.error("object is null: did you specify it using the 'inspect()' method?");
  			throw new ReflectorException("object is null: did you specify it using the 'inspect()' method?");
  		}
  		
  		Object result = null;
  		if(object instanceof Map) {
  			result = ((Map<?, ?>)object).get(key);
  		} else {
  			throw new ReflectorException("object of class '" + object.getClass().getSimpleName() + "' is not a map");
  		}
  		return result;
  	}
docs: If the object is a <code>Map</code> or a subclass, it retrieves the
  element corresponding to the given key.
  
  @param key
  the key corresponding to the element to be retrieved.
  @return
  the element corresponding to the given key, or <code>null</code> if none
  found.
  @throws ReflectorException
  if the object is not <code>Map</code>.