@Override
	public AttributedString replaceAll(char[] targets, char repacement) {
		AttributedString[] newStrings = new AttributedString[attributedStrings.length];
		for (int i = 0; i < attributedStrings.length; i++) {
			newStrings[i] = attributedStrings[i].replaceAll(targets, repacement);
		}
		return new CompositeAttributedString(newStrings);
	}
An AttributedString that is composed of other AttributedStrings.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/CompositeAttributedString.java