void (@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext) { LOG.assertTrue(elements.length == 1); if (dataContext == null) { dataContext = DataManager.getInstance().getDataContext(); } final Editor editor = CommonDataKeys.EDITOR.getData(dataContext); for(InlineActionHandler handler: InlineActionHandler.EP_NAME.getExtensionList()) { if (handler.canInlineElement(elements[0])) { handler.inlineElement(project, editor, elements [0]); return; } } invokeInliner(editor, elements[0]); }