PsiElement (Editor editor, int offset, int flags, @NotNull PsiElement targetElement) { if (targetElement instanceof GrPropertyForCompletion) { return ((GrPropertyForCompletion)targetElement).getOriginalAccessor(); } return super.adjustTargetElement(editor, offset, flags, targetElement); }