@Override
    public Object extract(Object instance) {
      return members.stream()
              .map(m -> extractor.extract(m, instance))
              .collect(Collectors.toList());
    }
Extractor based on a single member (field or method)
criteria/common/src/org/immutables/criteria/backend/KeyExtractors.java