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