private void moveGlobalSymbols ( Collection < GlobalSymbol > globalSymbols ) { for ( GlobalSymbolCycle globalSymbolCycle : new OrderAndCombineGlobalSymbols ( globalSymbols ) . orderAndCombine ( ) ) { // Symbols whose declarations refer to each other must be grouped together and their // declaration statements moved together. globalSymbolCycle . moveDeclarationStatements ( ) ; } }
Moves all of the declaration statements that can move to their best possible chunk location .