void (final String name, final Object groupId, final Command command) { CommandProcessor.getInstance().executeCommand(myProject, () -> { try { command.run(); } catch (Exception e) { throw new RuntimeException(e); } }, name, groupId); }