boolean (@NotNull final VirtualFile file, final int line, @NotNull final Project project) { final Ref<Boolean> stoppable = Ref.create(false); final Document document = FileDocumentManager.getInstance().getDocument(file); if (document != null && isSuitableFileType(project, file)) { lineHasStoppablePsi(project, line, document, getUnstoppableElements(), getUnstoppableElementTypes(), stoppable); } return stoppable.get(); }