boolean (@NotNull Update update) { if (!(update instanceof AnalyzeElementUpdate other)) return false; return myElement.equals(other.myElement) && (!other.myCheck || myCheck) && (!other.myCollectUsages || myCollectUsages); }