void () { if (myRefExpr.getParent() instanceof GrAnnotationNameValuePair && ((GrAnnotationNameValuePair)myRefExpr.getParent()).getNameIdentifierGroovy() == null) { PsiElement parent = myRefExpr.getParent().getParent(); if (!(parent instanceof GrAnnotation)) { parent = parent.getParent(); } if (parent instanceof GrAnnotation) { new AnnotationAttributeCompletionResultProcessor((GrAnnotation)parent).process(myConsumer, myMatcher); } } }