private Set<String> initializeEnabledCheckBoxNames() {
		if (enabledCheckBoxNames == null) {
			//@formatter:off
			enabledCheckBoxNames =
				checkBoxInfos.stream()
							 .filter(info -> info.isSelected())
							 .map(info -> info.getCheckBox().getText())
							 .collect(Collectors.toSet())
							 ;
			//@formatter:on
		}
		return enabledCheckBoxNames;
	}
A basic class to extract out code I was repeating over and over again.  This class creates
a component that contains series of check boxes and can answer questions about filtering.

@param <T> the type of item being filtered
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/filters/CheckBoxBasedAncillaryFilter.java