protected open fun guaranteeCorrectEventId()

in src/main/kotlin/com/intellij/internal/statistic/eventLog/validator/SensitiveDataValidator.kt [95:100]


  protected open fun guaranteeCorrectEventId(context: EventContext, groupRules: EventGroupRules?): String {
    if (validationRulesStorage.isUnreachable()) return ValidationResultType.UNREACHABLE_METADATA.description
    if (EventLogSystemEvents.SYSTEM_EVENTS.contains(context.eventId)) return context.eventId
    val validationResultType = validateEvent(context, groupRules)
    return if (validationResultType == ValidationResultType.ACCEPTED) context.eventId else validationResultType.description
  }