IndentOptions (@NotNull PsiFile file) { Document document = PsiDocumentManager.getInstance(file.getProject()).getDocument(file); return document != null ? document.getUserData(INDENT_OPTIONS_KEY) : null; }