static synchronized void register(@NotNull Component component, @NotNull ActionGroup actions) {
    register(component, actions, null);
  }
static synchronized void register(@NotNull Component component, @NotNull ActionGroup actions)