boolean (PsiElement position) { PsiElement parent = position.getParent(); if (parent instanceof GrReferenceElement) { return ((GrReferenceElement<?>)parent).getQualifier() == null; } return couldContainReference(position); }