CodeFormattingData (@NotNull PsiFile psiFile) { CodeFormattingData formattingData = psiFile.getUserData(CODE_FORMATTING_DATA_KEY); if (formattingData == null) { formattingData = new CodeFormattingData(psiFile); psiFile.putUserData(CODE_FORMATTING_DATA_KEY, formattingData); } return formattingData; }