code: public T extract(Object target) {
          if (target == null) {
              return null;
          }
          if (!(target instanceof Map)) {
              throw new IllegalArgumentException(
                      "Extraction target is not a Map");
          }
  
          return (T) ((Map) target).get(key);
      }
docs: {@inheritDoc}