void (@NotNull CommonProblemDescriptor descriptor) { RefEntity entity = ObjectUtils.chooseNotNull(myProblemElements.getKeyFor(descriptor), myResolvedElements.getKeyFor(descriptor)); if (entity != null) { myExcludedElements.put(entity, descriptor); } }