int (String searchText, int modifiers) { if (isCommand(searchText, DEBUG_COMMAND)) { return DEBUG_MODE; } else if (isCommand(searchText, RUN_COMMAND)) { return RUN_MODE; } else { return (modifiers & InputEvent.SHIFT_MASK) == 0 ? DEBUG_MODE : RUN_MODE; } }