boolean (PsiElement body) { return body instanceof PsiAssignmentExpression || PsiUtil.isIncrementDecrementOperation(body) || body instanceof PsiMethodCallExpression || //method invocation body instanceof PsiNewExpression && !((PsiNewExpression)body).isArrayCreation() || //class instance creation body instanceof PsiReferenceExpression && !body.isPhysical(); }