boolean (Editor editor, int tailOffset) { PsiFile psiFile = PsiEditorUtil.getPsiFile(editor); Language language = PsiUtilCore.getLanguageAtOffset(psiFile, tailOffset); CodeStyleSettingsFacade codeStyleFacade = CodeStyle.getFacade(psiFile).withLanguage(language); return codeStyleFacade.isSpaceAroundAssignmentOperators(); }