Object (int row, int col) { MigrationMapEntry entry = myMigrationMap.getEntryAt(row); if (col == 0) { if (entry.getType() == MigrationMapEntry.PACKAGE && entry.isRecursive()) { return JavaRefactoringBundle.message("migration.package.with.subpackages"); } else if (entry.getType() == MigrationMapEntry.PACKAGE && !entry.isRecursive()) { return JavaRefactoringBundle.message("migration.package"); } else { return JavaRefactoringBundle.message("migration.class"); } } String suffix = (entry.getType() == MigrationMapEntry.PACKAGE ? ".*" : ""); if (col == 1) { return entry.getOldName() + suffix; } else { return entry.getNewName() + suffix; } }