PsiExpression (PsiElement element) { element = complexify(element); PsiMethodCallExpression call = null; if (element.getParent() instanceof PsiExpressionList) { call = ObjectUtils.tryCast(element.getParent().getParent(), PsiMethodCallExpression.class); } PsiExpression value = JavaMethodContractUtil.findReturnedValue(call); return value == element ? call : null; }