boolean (@NotNull Project project, Editor editor, PsiFile psiFile) { GrReferenceExpression expression = myReferenceExpressionPointer.getElement(); return expression != null && !isInStaticCompilationContext(expression); }