StdArrangementSettings () { final List<ArrangementGroupingRule> groupingRules = myGroupingRulesPanel.getRules(); final List<ArrangementSectionRule> sections = myMatchingRulesPanel.getSections(); final Collection<StdArrangementRuleAliasToken> tokens = myMatchingRulesPanel.getRulesAliases(); if (tokens != null) { return new StdArrangementExtendableSettings(groupingRules, sections, tokens); } return new StdArrangementSettings(groupingRules, sections); }