boolean (@NotNull Project project, Editor editor, PsiFile file) { if (!super.isAvailable(project, editor, file)) return false; final PsiElement qualifier = myRefElement.getQualifier(); if (qualifier != null && resolveQualifier(qualifier) == null) { return false; } return true; }