@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile psiFile) {
    return myReferenceExpression.isValid() && !isInStaticCompilationContext(myReferenceExpression);
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile psiFile)