List < String > getSortedDependencyNames ( ) { List < String > names = new ArrayList <> ( ) ; for ( JSModule module : getDependencies ( ) ) { names . add ( module . getName ( ) ) ; } Collections . sort ( names ) ; return names ; }
Gets the names of the modules that this module depends on sorted alphabetically .