@Override
    public Object apply(Object instance) {
      Objects.requireNonNull(instance, "instance");
      try {
        return field.get(instance);
      } catch (IllegalAccessException e) {
        throw new RuntimeException(e);
      }
    }
Used to extract value from a field
criteria/common/src/org/immutables/criteria/reflect/Reflections.java