private static Set < String > getPackages ( List < CodeDependent > cds ) { Set < String > ret = new HashSet < String > ( ) ; if ( cds == null ) { return ret ; } for ( CodeDependent cd : cds ) { ret . add ( cd . pkg ) ; } return ret ; }
Gets the packages .