void (@NotNull IntentionAction action, String @NotNull ... category) { addAction(action); String descriptionDirectoryName = action instanceof IntentionActionWrapper ? ((IntentionActionWrapper)action).getDescriptionDirectoryName() : IntentionActionWrapper.getDescriptionDirectoryName(action.getClass().getName()); IntentionsMetadataService.getInstance().registerIntentionMetaData(action, category, descriptionDirectoryName); }