public void addExportedPackages ( Set < String > packages ) { String s = ( String ) getMainAttributes ( ) . get ( EXPORT_PACKAGE ) ; Wrapper < Boolean > modified = Wrapper . wrap ( this . modified ) ; String result = mergeIntoCommaSeparatedList ( s , packages , modified , lineDelimiter ) ; this . modified = modified . get ( ) ; getMainAttributes ( ) . put ( EXPORT_PACKAGE , result ) ; }
adds the qualified names to the export - package attribute if not already present .