String (@Nullable PsiElement element) { final PsiMethodCallExpression methodCall = PsiTreeUtil.getParentOfType(element, PsiMethodCallExpression.class); return methodCall != null ? methodCall.getMethodExpression().getReferenceName() : null; }