CodeFormattingData (@NotNull PsiFile file, @NotNull List<TextRange> ranges) { CodeFormattingData formattingData = getOrCreate(file); for (TextRange range : ranges) { formattingData.getInjectedRanges(range); } return formattingData; }