ModCommand (@NotNull ActionContext context) { final Property property = CopyPropertyValueToClipboardIntention.getProperty(context); if (property == null) return ModCommand.nop(); final String key = property.getUnescapedKey(); if (key == null) return ModCommand.nop(); return ModCommand.copyToClipboard(key); }