void (@NotNull T candidate) { PsiElement element = candidate.getElement(); assert element == null || element.isValid() : getElementInfo(element); if (myCandidates == null) myCandidates = new ArrayList<>(); myCandidates.add(candidate); }