void (@NotNull Environment env) { PsiDocumentManager.getInstance(getProject()).commitAllDocuments(); int offset = generateDocOffset(env, null); env.logMessage("Go to " + MadTestingUtil.getPositionDescription(offset, getDocument())); doInvokeIntention(offset, env); }