@Override
	public String getText() {
		if (fullText == null) {
			StringBuffer buffer = new StringBuffer();
			for (AttributedString attributedString : attributedStrings) {
				buffer.append(attributedString.getText());
			}
			fullText = buffer.toString();
		}
		return fullText;
	}
An AttributedString that is composed of other AttributedStrings.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/CompositeAttributedString.java