question: private void rename ( Table table ) { if ( renameDefinitions != null ) { for ( Column col : table . getAllColumns ( ) ) { String newColName = renameDefinitions . getNewColumnName ( table . getSchema ( ) , table . getName ( ) , col . getName ( ) ) ; if ( newColName != null ) col . setName ( newColName ) ; } String newTableName = renameDefinitions . getNewTableName ( table . getSchema ( ) , table . getName ( ) ) ; String newSchemaName = renameDefinitions . getNewSchemaName ( table . getSchema ( ) , table . getName ( ) ) ; if ( newTableName != null ) table . setTable ( newTableName ) ; if ( newSchemaName != null ) table . setSchema ( newSchemaName ) ; } }
target:  If renameDefinitions object is prepared, does the lookup and renaming of schema, table and columns. Nothing is done if renameDefinitions is null.