void (@NotNull PsiElement position, @NotNull GroovyCompletionConsumer result) { final GrTypeParameterList candidate = findTypeParameterListCandidate(position); if (candidate != null) { for (GrTypeParameter p : candidate.getTypeParameters()) { result.consume(new JavaPsiClassReferenceElement(p)); } } }