void () { myNewNames = new String[getElementCount()]; myShouldRename = new boolean[getElementCount()]; for (int i = 0; i < getElementCount(); i++) { myNewNames[i] = myRenamer.getNewElementName(getElements().get(i)); myShouldRename[i] = myRenamer.isCheckedInitially(getElements().get(i)); } }