boolean (GrExpression position) { if (position instanceof GrApplicationStatement) return false; final PsiElement parent = position.getParent(); if (parent instanceof GrVariable && ((GrVariable)parent).getInitializerGroovy() == position) return false; return true; }