package com.bytedance.ies.sdk.widgets;

import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.ArrayList;
import java.util.List;

public class GroupableElementSpecImpl extends ElementSpecImpl implements GroupableElementSpec {
    public final List<Integer> bindingGroup;

    static {
        Covode.recordClassIndex(30485);
    }

    public List<Integer> getGroupIds() {
        return this.bindingGroup;
    }

    public GroupableElementSpecImpl(int i) {
        super(i);
        this.bindingGroup = new ArrayList();
    }

    public final GroupableElementSpecImpl bindGroup(int i) {
        this.bindingGroup.add(Integer.valueOf(i));
        return this;
    }

    public final GroupableElementSpecImpl bindGroups(List<Integer> list) {
        M12.LIZ(list);
        this.bindingGroup.addAll(list);
        return this;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public GroupableElementSpecImpl(int i, List<Integer> list) {
        this(i);
        M12.LIZ(list);
        this.bindingGroup.addAll(list);
    }
}
