PsiExpression (PsiExpression rExpression) { if(rExpression == null) return null; if(rExpression.getParent() instanceof PsiAssignmentExpression) { return ((PsiAssignmentExpression)rExpression.getParent()).getLExpression(); } return null; }