@Override
		public boolean equals(Object obj) {
			if (!(obj instanceof FieldState)) {
				return false;
			}
			FieldState that = (FieldState) obj;
			if (!this.text.equals(that.text)) {
				return false;
			}
			if (this.caret != that.caret) {
				return false;
			}
			return true;
		}
The current state of a linked field, stored separately from the actual component
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/TextFieldLinker.java