/** * Print several removed annotations from several columns. * * @param removedKeys map from column to annotation keys removed from that column. */ private void printRemovedColumnAnnotations( final Map<FijiColumnName, Set<String>> removedKeys ) { for (Map.Entry<FijiColumnName, Set<String>> columnEntry : removedKeys.entrySet()) { printRemovedColumnAnnotations(columnEntry.getKey(), columnEntry.getValue()); } }
if (mAllColumnsFlag) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations(mAnnotator.removeAllColumnAnnotations()); } else { if (!mFamilyFlag.isEmpty()) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations( mAnnotator.removeAllColumnAnnotationsInFamily(mFamilyFlag)); } else { if (mPrefixFlag) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations( mAnnotator.removeColumnAnnotationsInFamilyStartingWith(mFamilyFlag, mKeyFlag)); } else if (mPartialFlag) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations( mAnnotator.removeColumnAnnotationsInFamilyContaining(mFamilyFlag, mKeyFlag)); } else if (mRegexFlag) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations( mAnnotator.removeColumnAnnotationsInFamilyMatching(mFamilyFlag, mKeyFlag)); } else { for (FijiColumnName column : columns) { getPrintStream().println("Annotations removed:"); printRemovedColumnAnnotations(column, mAnnotator.removeAllColumnAnnotations(column)); if (mPrefixFlag) {