String (String docName) { if (PRIVACY_POLICY_DOCUMENT_NAME.equals(docName)) { return "JetBrains.privacy_policy.accepted_version"; } String keyName = docName; if (EULA_EAP_DOCUMENT_NAME.equals(docName)) { // for commercial EAP releases accepted version attribute should be separate from the one Resharper uses (IDEA-212020) keyName = "ij_" + keyName; } return "JetBrains.privacy_policy." + keyName + "_accepted_version"; }