class PillarSwapMoveSelectorConfig extends AbstractPillarMoveSelectorConfig<PillarSwapMoveSelectorConfig> {

    public static final String XML_ELEMENT_NAME = "pillarSwapMoveSelector";

    @XmlElement(name = "secondaryPillarSelector")
    private PillarSelectorConfig secondaryPillarSelectorConfig = null;

    @XmlElementWrapper(name = "variableNameIncludes")
    @XmlElement(name = "variableNameInclude")
    private List<String> variableNameIncludeList = null;

    public PillarSelectorConfig getSecondaryPillarSelectorConfig() {
        return secondaryPillarSelectorConfig;
    }

    public void setSecondaryPillarSelectorConfig(PillarSelectorConfig secondaryPillarSelectorConfig) {
        this.secondaryPillarSelectorConfig = secondaryPillarSelectorConfig;
    }

    public List<String> getVariableNameIncludeList() {
        return variableNameIncludeList;
    }

    public void setVariableNameIncludeList(List<String> variableNameIncludeList) {
        this.variableNameIncludeList = variableNameIncludeList;
    }

    // ************************************************************************
    // With methods
    // ************************************************************************

    public PillarSwapMoveSelectorConfig withSecondaryPillarSelectorConfig(PillarSelectorConfig pillarSelectorConfig) {
        this.setSecondaryPillarSelectorConfig(pillarSelectorConfig);
        return this;
    }

    public PillarSwapMoveSelectorConfig withVariableNameIncludeList(List<String> variableNameIncludeList) {
        this.setVariableNameIncludeList(variableNameIncludeList);
        return this;
    }

    public PillarSwapMoveSelectorConfig withVariableNameIncludes(String... variableNameIncludes) {
        this.setVariableNameIncludeList(List.of(variableNameIncludes));
        return this;
    }

    @Override
    public PillarSwapMoveSelectorConfig inherit(PillarSwapMoveSelectorConfig inheritedConfig) {
        super.inherit(inheritedConfig);
        secondaryPillarSelectorConfig = ConfigUtils.inheritConfig(secondaryPillarSelectorConfig,
                inheritedConfig.getSecondaryPillarSelectorConfig());
        variableNameIncludeList = ConfigUtils.inheritMergeableListProperty(
                variableNameIncludeList, inheritedConfig.getVariableNameIncludeList());
        return this;
    }

    @Override
    public PillarSwapMoveSelectorConfig copyConfig() {
        return new PillarSwapMoveSelectorConfig().inherit(this);
    }

    @Override
    public void visitReferencedClasses(Consumer<Class<?>> classVisitor) {
        visitCommonReferencedClasses(classVisitor);
        if (secondaryPillarSelectorConfig != null) {
            secondaryPillarSelectorConfig.visitReferencedClasses(classVisitor);
        }
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}

}

        return getClass().getSimpleName() + "(" + pillarSelectorConfig
                + (secondaryPillarSelectorConfig == null ? "" : ", " + secondaryPillarSelectorConfig) + ")";
    
<methods>public non-sealed void <init>() ,public org.optaplanner.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig getPillarSelectorConfig() ,public Class<? extends Comparator#RAW> getSubPillarSequenceComparatorClass() ,public org.optaplanner.core.config.heuristic.selector.move.generic.SubPillarType getSubPillarType() ,public org.optaplanner.core.config.heuristic.selector.move.generic.PillarSwapMoveSelectorConfig inherit(org.optaplanner.core.config.heuristic.selector.move.generic.PillarSwapMoveSelectorConfig) ,public void setPillarSelectorConfig(org.optaplanner.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig) ,public void setSubPillarSequenceComparatorClass(Class<? extends Comparator#RAW>) ,public void setSubPillarType(org.optaplanner.core.config.heuristic.selector.move.generic.SubPillarType) ,public org.optaplanner.core.config.heuristic.selector.move.generic.PillarSwapMoveSelectorConfig withPillarSelectorConfig(org.optaplanner.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig) ,public org.optaplanner.core.config.heuristic.selector.move.generic.PillarSwapMoveSelectorConfig withSubPillarSequenceComparatorClass(Class<? extends Comparator#RAW>) ,public org.optaplanner.core.config.heuristic.selector.move.generic.PillarSwapMoveSelectorConfig withSubPillarType(org.optaplanner.core.config.heuristic.selector.move.generic.SubPillarType) <variables>protected org.optaplanner.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig pillarSelectorConfig,protected Class<? extends Comparator#RAW> subPillarSequenceComparatorClass,protected org.optaplanner.core.config.heuristic.selector.move.generic.SubPillarType subPillarType