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