@@ -0,0 +1,737 @@
+package com.celements.model.field;%0A%0Aimport static com.google.common.base.Preconditions.*;%0A%0Aimport javax.annotation.concurrent.Immutable;%0Aimport javax.validation.constraints.NotNull;%0A%0Aimport com.celements.model.classes.fields.ClassField;%0Aimport com.google.common.base.Function;%0A%0A@Immutable%0Apublic class FieldGetterFunction%3CT, V%3E implements Function%3CT, V%3E %7B%0A%0A  private final FieldAccessor%3CT%3E accessor;%0A  private final ClassField%3CV%3E field;%0A%0A  public FieldGetterFunction(@NotNull FieldAccessor%3CT%3E accessor, @NotNull ClassField%3CV%3E field) %7B%0A    this.accessor = checkNotNull(accessor);%0A    this.field = checkNotNull(field);%0A  %7D%0A%0A  @Override%0A  public V apply(@NotNull T instance) %7B%0A    return accessor.getValue(instance, field).orNull();%0A  %7D%0A%0A%7D%0A

add FieldGetterFunction (#125)