record (Token token, @NlsSafe String usedName, @NlsSafe String intendedName) { @Override public @InspectionMessage String toString() { String key = Character.isUpperCase(token.character) ? "inspection.suspicious.date.format.message.upper" : "inspection.suspicious.date.format.message.lower"; return InspectionGadgetsBundle.message(key, token, usedName, token.fixed(), intendedName); } }