ValidationResultType (@NotNull String data, @NotNull EventContext context) { if (isThirdPartyValue(data)) return ValidationResultType.ACCEPTED; final Language language = Language.findLanguageByID(data); if (language == null) { return ValidationResultType.REJECTED; } return PluginInfoDetectorKt.getPluginInfo(language.getClass()).isSafeToReport() ? ValidationResultType.ACCEPTED : ValidationResultType.THIRD_PARTY; }