package com.celements.model.classes.fields.list;

import java.util.List;

import javax.annotation.concurrent.Immutable;
import javax.validation.constraints.NotNull;

@Immutable
public final class StaticListField extends StringListField {

  public static class Builder extends StringListField.Builder<Builder> {

    public Builder(@NotNull String classDefName, @NotNull String name) {
      super(classDefName, name);
    }

    @Override
    public Builder values(List<String> values) {
      return super.values(values);
    }

    @Override
    public StaticListField build() {
      return new StaticListField(this);
    }

  }

  protected StaticListField(@NotNull Builder builder) {
    super(builder);
  }

}

@@ -411,32 +411,226 @@
 , name);%0A    %7D%0A%0A
+    // override needed for backwards compatibility with older version to avoid NoSuchMethodError:%0A    // com.celements.model.classes.fields.list.StaticListField$Builder.values(Ljava/util/List;)%0A
     @Override%0A  

comment added for override