private void handlePackageNotes( RollbackPrintWriter out, String qname, boolean error, boolean warn, boolean info, boolean debug, boolean trace ) { String title = pnotes.title(); boolean isSubsystem = qname.replaceAll( "[^\\.]", "" ).length() == 2; if ( !title.isEmpty() ) { block( title, out, isSubsystem ); } handleNote( out, error, pnotes.error(), qname, "ERROR" ); handleNote( out, warn, pnotes.warn(), qname, "WARN" ); handleNote( out, info, pnotes.info(), qname, "INFO" ); handleNote( out, debug, pnotes.debug(), qname, "DEBUG" ); handleNote( out, trace, pnotes.trace(), qname, "TRACE" ); }