CharSequence (@NotNull CharSequence whiteSpaceText, @NotNull PsiElement startElement, int startOffset, int endOffset, CodeStyleSettings codeStyleSettings) { CharSequence result = whiteSpaceText; for (WhiteSpaceFormattingStrategy strategy : myStrategies) { result = strategy.adjustWhiteSpaceIfNecessary(result, startElement, startOffset, endOffset, codeStyleSettings); } return result; }