void (@NotNull InputMap map) { Object[] keys = map.keys(); if (keys != null && keys.length != 0) return; // keys for actions are already installed for (TreeAction action : ACTIONS) for (KeyStroke key : action.keys) map.put(key, action.name); }