ValidationResultType (@NotNull String data, @NotNull EventContext context) { if ("invalid".equals(data) || isThirdPartyValue(data)) return ValidationResultType.ACCEPTED; final FacetType facet = findFacetById(data); if (facet == null) { return ValidationResultType.REJECTED; } final PluginInfo info = PluginInfoDetectorKt.getPluginInfo(facet.getClass()); context.setPayload(PLUGIN_INFO, info); return info.isDevelopedByJetBrains() ? ValidationResultType.ACCEPTED : ValidationResultType.THIRD_PARTY; }