@Override
  @NotNull
  public SearchScope getUseScope() {
    GrClosableBlock closure = myClosure.getElement();
    if (closure == null) {
      throw new IncorrectOperationException("Pointer is invalidated");
    }
    return new LocalSearchScope(closure);
  }
@Override
  @NotNull
  public SearchScope getUseScope()