GrExpression (GrExpression lValue) { final PsiElement parent = lValue.getParent(); if (parent instanceof GrAssignmentExpression) return ((GrAssignmentExpression)parent).getRValue(); if (parent instanceof GrTuple) { final int i = ((GrTuple)parent).indexOf(lValue); final GrTupleAssignmentExpression grandParent = ((GrTuple)parent).getParent(); LOG.assertTrue(grandParent != null); final GrExpression rValue = grandParent.getRValue(); if (rValue instanceof GrListOrMap && !((GrListOrMap)rValue).isMap()) { final GrExpression[] initializers = ((GrListOrMap)rValue).getInitializers(); if (i < initializers.length) return initializers[i]; } } return null; }