void (@NotNull TabInfo info) { IdeFrameImpl movedFrame = (IdeFrameImpl)info.getObject(); int newIndex = getIndexOf(info); int oldIndex = myIndexes.get(movedFrame); if (oldIndex != newIndex) { recalculateIndexes(); moveTabToNewIndex(movedFrame, newIndex); } }