void (@NotNull PsiElement element) { if (!(element instanceof GrImportStatement) && !(element instanceof GrPackageDefinition)) { super.visitElement(element); } if (element instanceof GrReferenceElement) { visitRefElement((GrReferenceElement)element); } }