boolean (@NotNull RequestWithProcessor another) { if (request.equals(another.request)) { Processor<? super PsiReference> myProcessor = refProcessor; if (myProcessor != another.refProcessor) { refProcessor = psiReference -> myProcessor.process(psiReference) && another.refProcessor.process(psiReference); } return true; } return false; }