void () { configure(); PsiMethodCallExpression assertEquals = PsiTreeUtil.getParentOfType(getFile().findElementAt(getEditor().getCaretModel().getOffset()), PsiMethodCallExpression.class); assertNotNull(assertEquals); //ensure conflict check is not called recursively assertNotNull(assertEquals.getMethodExpression().advancedResolve(true)); }