@Override
  public boolean isAvailable(final @NotNull Project project, final Editor editor, final PsiFile file) {
    return super.isAvailable(project, editor, file) && getPossibleTargets(getRefElement()).length > 0;
  }
@Override
  public boolean isAvailable(final @NotNull Project project, final Editor editor, final PsiFile file)