public void searchCustom(@NotNull Processor<? super Processor<? super PsiReference>> searchAction) {
    synchronized (lock) {
      myCustomSearchActions.add(searchAction);
    }
  }
public void searchCustom(@NotNull Processor<? super Processor<? super PsiReference>> searchAction)