ArrangementSettingsToken (@NotNull String id) { final ArrangementSettingsToken token = myDelegate.deserializeToken(id); if (token != null || myRuleAliases == null) { return token; } for (StdArrangementRuleAliasToken alias : myRuleAliases) { if (StringUtil.equals(alias.getId(), id)) { return alias; } } return null; }