boolean (PsiElement context) { return context.getParent() instanceof GrCodeReferenceElement && !(context.getParent().getParent() instanceof GrImportStatement) && !(context.getParent().getParent() instanceof GrPackageDefinition) && !(context.getParent().getParent() instanceof GrNewExpression); }